Unset empty filter arrays, not set them to null

This commit is contained in:
Nathan Gray 2016-05-11 19:40:49 +00:00
parent e34fe9a4e7
commit e38fa525ef

View File

@ -315,7 +315,7 @@ class Nextmatch extends Etemplate\Widget
{
if(is_array($val) && count($val) == 0)
{
$val = null;
unset($filters['col_filter'][$col]);
}
}
//error_log($this . " Valid filters: " . array2string($filters));