mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-03-13 23:18:40 +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
|
// 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 . '\'';
|
$filter[] = 'contact_tid != \'' . self::DELETED_TYPE . '\'';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user