]> wagnertech.de Git - timetracker.git/blobdiff - projects.php
Added capability to attach files to timesheets.
[timetracker.git] / projects.php
index 49a59a64df49883e1fd871d6d2a67dba3cdacb1b..6088af495ee3d1aaa58e575d62febc2d5bd11cc2 100644 (file)
@@ -50,7 +50,7 @@ if($user->can('manage_projects')) {
 
 $smarty->assign('active_projects', $active_projects);
 $smarty->assign('inactive_projects', $inactive_projects);
-$smarty->assign('show_files', $user->isPluginEnabled('at'));
+$smarty->assign('show_files', $showFiles);
 $smarty->assign('title', $i18n->get('title.projects'));
 $smarty->assign('content_page_name', 'projects.tpl');
 $smarty->display('index.tpl');