mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 10:53:39 +01:00
Allow 0 as a filter value
This commit is contained in:
parent
a01b53a2b3
commit
dc5ed0acac
@ -301,7 +301,7 @@ class importexport_export_ui {
|
||||
$filter[$key] = $value;
|
||||
|
||||
// Skip empty values or empty ranges
|
||||
if(!$value || is_array($value) && array_key_exists('from',$value) && !$value['from'] && !$value['to'] )
|
||||
if($value == "" || is_null($value) || (is_array($value) && count($value) == 0) || is_array($value) && array_key_exists('from',$value) && !$value['from'] && !$value['to'] )
|
||||
{
|
||||
unset($filter[$key]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user