X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=topdf.php;h=d017299b7ccb5f424afd6ae3f886576518e688a4;hb=11441db31dcbed7b2070e800bcb1b0e6547b86bd;hp=0126bc616b6a0f45dcf110c36b1d213e08f2d7f5;hpb=b027832862272283d9203c994ec8fd39f6196887;p=timetracker.git diff --git a/topdf.php b/topdf.php index 0126bc61..d017299b 100644 --- a/topdf.php +++ b/topdf.php @@ -49,7 +49,7 @@ if (!ttAccessCheck(right_view_reports)) { } // 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); }