X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/70272dc970919c348288bd09ff835f05e7538949..60638b6c4f5fb33cd431cabdfef2de83c570b4da:/time.php diff --git a/time.php b/time.php index ebe6356c..d5a28bbb 100644 --- a/time.php +++ b/time.php @@ -57,7 +57,7 @@ if(!$cl_date) $_SESSION['date'] = $cl_date; // Use custom fields plugin if it is enabled. -if (in_array('cf', explode(',', $user->plugins))) { +if (ttPluginEnabled('cf')) { require_once('plugins/CustomFields.class.php'); $custom_fields = new CustomFields($user->team_id); $smarty->assign('custom_fields', $custom_fields);