X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=locking.php;h=99e79a2175c3b2cdfa663fe42cf7729d755c8de1;hb=556948c09b8116728275f9933716a153216abe31;hp=2b49b83752575eb1b4286a7c1be1e12e873bd7fb;hpb=4dcb88a76a3de466ee6116ae0852f53ba2b259a5;p=timetracker.git diff --git a/locking.php b/locking.php index 2b49b837..99e79a21 100644 --- a/locking.php +++ b/locking.php @@ -51,7 +51,7 @@ if ($request->isPost()) { if (!ttValidCronSpec($cl_lock_spec)) $err->add($i18n->get('error.field'), $i18n->get('label.schedule')); if ($err->no()) { - if (ttTeamHelper::update($user->team_id, array( + if (ttTeamHelper::update($user->group_id, array( 'name' => $user->team, 'lock_spec' => $cl_lock_spec))) { header('Location: profile_edit.php');