X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=week.php;h=05d399214d4d8e8677121006859f1a72d3a3442a;hb=4334f16faa68ecaec5aceb5c16bb500d62a3688f;hp=e2aa2d9d81c27b9adc7b6d48bc4516e6e44fc2ca;hpb=2b39252b38f5bd1be462224fe781a40f5b0ddf95;p=timetracker.git diff --git a/week.php b/week.php index e2aa2d9d..05d39921 100644 --- a/week.php +++ b/week.php @@ -349,7 +349,7 @@ if ($request->isPost()) { } } if ($newEntryPosted) { - 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']);