projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Removed an unused string.
[timetracker.git]
/
topdf.php
diff --git
a/topdf.php
b/topdf.php
index
0126bc6
..
d017299
100644
(file)
--- 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);
}