X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2FttWeekViewHelper.class.php;h=27a1bbcf51ff7ca149ac971ac89f5b0a6f93b7f1;hb=995feb6c9e97991e5b9d9803fbc3c8a41ac48922;hp=f4ee719f8d5449789f28b42fdec81013ef544150;hpb=5f64df1308fd641565631e6e38d282432f5e6250;p=timetracker.git diff --git a/WEB-INF/lib/ttWeekViewHelper.class.php b/WEB-INF/lib/ttWeekViewHelper.class.php index f4ee719f..27a1bbcf 100644 --- a/WEB-INF/lib/ttWeekViewHelper.class.php +++ b/WEB-INF/lib/ttWeekViewHelper.class.php @@ -45,7 +45,7 @@ class ttWeekViewHelper { $custom_field_1 = null; if ($user->isPluginEnabled('cf')) { - $custom_fields = new CustomFields($user->team_id); + $custom_fields = new CustomFields($user->group_id); $cf_1_type = $custom_fields->fields[0]['type']; if ($cf_1_type == CustomFields::TYPE_TEXT) { $custom_field_1 = ', cfl.value as cf_1_value';