X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/0dfc4dda20c54e173938eaf196f8e071ce790830..05b0f8e4762b8a2ca2002a8f7545b7ff68cc3925:/time_edit.php diff --git a/time_edit.php b/time_edit.php index 18638b07..a3421a8d 100644 --- a/time_edit.php +++ b/time_edit.php @@ -41,7 +41,7 @@ if (!ttAccessCheck(right_data_entry)) { } // 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);