forked from extern/egroupware
fix broken filter for search strings
This commit is contained in:
parent
5ee25dc26b
commit
ac50def034
@ -1538,7 +1538,7 @@ class mail_bo
|
|||||||
|
|
||||||
//_debug_array($_criterias);
|
//_debug_array($_criterias);
|
||||||
if (self::$debug) error_log(__METHOD__.__LINE__.' Criterias:'.(!is_array($_criterias)?" none -> returning $all":array2string($_criterias)));
|
if (self::$debug) error_log(__METHOD__.__LINE__.' Criterias:'.(!is_array($_criterias)?" none -> returning $all":array2string($_criterias)));
|
||||||
if(!is_array($_criterias) || $_criterias['status']=='any') {
|
if((!is_array($_criterias) || $_criterias['status']=='any') && !isset($_criterias['string']) && empty($_criterias['string'])) {
|
||||||
$imapFilter->flag('DELETED', $set=false);
|
$imapFilter->flag('DELETED', $set=false);
|
||||||
return $imapFilter;
|
return $imapFilter;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user