forked from extern/egroupware
Fix bug preventing timesheet status column from being hidden
This commit is contained in:
parent
d0b9a13c54
commit
864539b5eb
@ -739,7 +739,7 @@ class timesheet_ui extends timesheet_bo
|
||||
if ($query['selectcols'] && strpos($query['selectcols'],'ts_unitprice')===false) $rows['no_ts_unitprice'] = 1;
|
||||
if ($query['selectcols'] && strpos($query['selectcols'],'ts_total')===false) $rows['no_ts_total'] = 1;
|
||||
}
|
||||
$rows['no_ts_status'] = $query['no_status'];
|
||||
$rows['no_ts_status'] = strpos($query['selectcols'], 'ts_status') === false || $query['no_status'];
|
||||
|
||||
return $total;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user