mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-02 20:19:27 +01:00
Send false to re-enable columns as needed
This commit is contained in:
parent
53dcea9004
commit
437de286c3
@ -528,12 +528,14 @@ class infolog_ui
|
|||||||
}
|
}
|
||||||
|
|
||||||
// switch cf column off, if we have no cf's
|
// switch cf column off, if we have no cf's
|
||||||
if (!$query['custom_fields']) $rows['no_customfields'] = true;
|
$rows['no_customfields'] = !$query['custom_fields'];
|
||||||
|
|
||||||
if ($GLOBALS['egw_info']['user']['preferences']['common']['account_selection'] == 'none' &&
|
$rows['no_info_owner_info_responsible'] = (
|
||||||
!isset($GLOBALS['egw_info']['user']['apps']['admin']))
|
$GLOBALS['egw_info']['user']['preferences']['common']['account_selection'] == 'none' &&
|
||||||
|
!isset($GLOBALS['egw_info']['user']['apps']['admin'])
|
||||||
|
);
|
||||||
|
if($rows['no_info_owner_info_responsible'])
|
||||||
{
|
{
|
||||||
$rows['no_info_owner_info_responsible'] = true;
|
|
||||||
// dont show owner, responsible in the columnselection
|
// dont show owner, responsible in the columnselection
|
||||||
$query['options-selectcols']['info_owner'] = $query['options-selectcols']['info_responsible'] = false;
|
$query['options-selectcols']['info_owner'] = $query['options-selectcols']['info_responsible'] = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user