mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix deleted filter to hide from select-entry widget also
This commit is contained in:
parent
a67f231b74
commit
adf9a0917f
@ -605,7 +605,8 @@ class addressbook_so
|
||||
}
|
||||
|
||||
// Hide deleted items unless type is specifically deleted
|
||||
if(array_key_exists('tid', $filter) && $filter['tid'] !== self::DELETED_TYPE) {
|
||||
if(!is_array($filter)) $filter = array();
|
||||
if($filter['tid'] !== self::DELETED_TYPE) {
|
||||
$filter[] = 'contact_tid != \'' . self::DELETED_TYPE . '\'';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user