X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/cdd2e058776a3d0dc9b6f32a2d5d33e4f9388491..db25f950841ee874795d4b9605f8ae2347aaf4f1:/mobile/timer.php diff --git a/mobile/timer.php b/mobile/timer.php index a8f708a8..66753632 100644 --- a/mobile/timer.php +++ b/mobile/timer.php @@ -186,7 +186,7 @@ if ($request->isPost()) { $cl_finish = null; // Validate user input. - if ($user->isPluginEnabled('cl') && $user->isPluginEnabled('cm') && !$cl_client) + if ($user->isPluginEnabled('cl') && $user->isOptionEnabled('client_required') && !$cl_client) $err->add($i18n->get('error.client')); if ($custom_fields) { if (!ttValidString($cl_cf_1, !$custom_fields->fields[0]['required'])) $err->add($i18n->get('error.field'), $custom_fields->fields[0]['label']);