X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=profile_edit.php;h=5ccccf5461454deb060a29229e289bae07c79804;hb=7886b207e673ee3cdf51715c8874a0c74f111500;hp=d4465745fea32f69fa66b37be27aa96dd4e9fb9a;hpb=55c8f6a2bce9518c28337b18823b8300d1875ab8;p=timetracker.git 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()) {