X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/4dcb88a76a3de466ee6116ae0852f53ba2b259a5..b8704d54af8a3c22f1c5a9ebe2e58a28678b7442:/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');