mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
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_unitprice')===false) $rows['no_ts_unitprice'] = 1;
|
||||||
if ($query['selectcols'] && strpos($query['selectcols'],'ts_total')===false) $rows['no_ts_total'] = 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;
|
return $total;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user