X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/0dfc4dda20c54e173938eaf196f8e071ce790830..05b0f8e4762b8a2ca2002a8f7545b7ff68cc3925:/mobile/timer.php diff --git a/mobile/timer.php b/mobile/timer.php index 949d585c..1ccc7893 100644 --- a/mobile/timer.php +++ b/mobile/timer.php @@ -51,7 +51,7 @@ $_SESSION['date'] = $cl_date; // TODO: for time page we may limit the day to today only. // Use custom fields plugin if it is enabled. -if (in_array('cf', explode(',', $user->plugins))) { +if ($user->isPluginEnabled('cf')) { require_once('../plugins/CustomFields.class.php'); $custom_fields = new CustomFields($user->team_id); $smarty->assign('custom_fields', $custom_fields);