projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Work in progress renaming variables after PR#24 merge.
[timetracker.git]
/
tofile.php
diff --git
a/tofile.php
b/tofile.php
index
26d1cba
..
299b4a1
100644
(file)
--- a/
tofile.php
+++ b/
tofile.php
@@
-38,7
+38,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);
}