X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/c9ab2e84d7c459e4d5e8e946be78c2e49533796e..7ddf5c391598126ec473db7b25884ee0bd94f153:/time.php diff --git a/time.php b/time.php index d5a28bbb..193f7a2b 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 (ttPluginEnabled('cf')) { +if ($user->isPluginEnabled('cf')) { require_once('plugins/CustomFields.class.php'); $custom_fields = new CustomFields($user->team_id); $smarty->assign('custom_fields', $custom_fields);