From 0f5d4e7cab085fd432316eb576167800da45e106 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 8 Mar 2016 17:29:10 +0000 Subject: [PATCH] Send false to re-enable columns as needed --- timesheet/inc/class.timesheet_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timesheet/inc/class.timesheet_ui.inc.php b/timesheet/inc/class.timesheet_ui.inc.php index 6cc85f4970..1ca1e25eec 100644 --- a/timesheet/inc/class.timesheet_ui.inc.php +++ b/timesheet/inc/class.timesheet_ui.inc.php @@ -766,7 +766,7 @@ class timesheet_ui extends timesheet_bo if(!$row['titleClass']) $row['titleClass'] = 'timesheet_titleDetails'; } - if (!$have_cats || $query['cat_id']) $rows['no_cat_id'] = true; + $rows['no_cat_id'] = (!$have_cats || $query['cat_id']); if ($query['col_filter']['ts_owner']) $rows['ownerClass'] = 'noPrint'; $rows['no_owner_col'] = $query['no_owner_col']; if (!$rows['no_owner_col'] && $query['selectcols'] && !strpos($query['selectcols'],'ts_owner')) $rows['no_owner_col'] = 1;