X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/b5426618bbd3ee3178a86f6318b321632047f25b..95d031241d1e1970e92171e733c81896b53f7cdc:/time_edit.php diff --git a/time_edit.php b/time_edit.php index e6a8adb8..f4eb41d2 100644 --- a/time_edit.php +++ b/time_edit.php @@ -53,7 +53,7 @@ if (!$time_rec || $time_rec['invoice_id']) { // Use custom fields plugin if it is enabled. if ($user->isPluginEnabled('cf')) { require_once('plugins/CustomFields.class.php'); - $custom_fields = new CustomFields($user->group_id); + $custom_fields = new CustomFields($user->getGroup()); $smarty->assign('custom_fields', $custom_fields); }