X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/55c8f6a2bce9518c28337b18823b8300d1875ab8..260cff8d7b6e93db41ee30444c059c46ea78aada:/profile_edit.php diff --git a/profile_edit.php b/profile_edit.php index d4465745..5ccccf54 100644 --- a/profile_edit.php +++ b/profile_edit.php @@ -200,14 +200,10 @@ if ($request->isPost()) { if (!ttValidString($cl_team, true)) $err->add($i18n->getKey('error.field'), $i18n->getKey('label.team_name')); if (!ttValidString($cl_address, true)) $err->add($i18n->getKey('error.field'), $i18n->getKey('label.address')); if (!ttValidString($cl_currency, true)) $err->add($i18n->getKey('error.field'), $i18n->getKey('label.currency')); - if (!ttValidInteger($cl_lock_interval, true)) $err->add($i18n->getKey('error.field'), $i18n->getKey('label.lock_interval')); } // Finished validating user input. if ($err->no()) { - if ($cl_lock_interval == null || trim($cl_lock_interval) == '') - $cl_lock_interval = 0; - $update_result = true; if ($user->canManageTeam()) {