mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-02 03:19:56 +01:00
Another fix for private cf filtering, when filter is enabled/disabled via content
This commit is contained in:
parent
f8352386cb
commit
69ab474f8c
@ -142,7 +142,7 @@ class etemplate_widget_customfields extends etemplate_widget_transformer
|
||||
foreach((array)$fields as $key => $field)
|
||||
{
|
||||
// remove private or non-private cf's, if only one kind should be displayed
|
||||
if ((string)$this->attrs['use-private'] !== '' && (boolean)$field['private'] != (boolean)$use_private)
|
||||
if ((string)$use_private !== '' && (boolean)$field['private'] != (boolean)$use_private)
|
||||
{
|
||||
unset($fields[$key]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user