X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/82113b6a111dc3f716c71fb8fb55b11845cbd697..45c855269d952873285f7a835e82fc2b3eff3971:/locking.php 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');