diff --git a/Editor.php b/Editor.php index b90658b..1eabbd0 100644 --- a/Editor.php +++ b/Editor.php @@ -1977,7 +1977,7 @@ private function _ssp_filter($query, $http) $r = $q ->where( $field->dbField(), - isset($http['searchPanes_null'][$field->name()][$i]) + isset($http['searchPanes_null'][$field->name()][$i]) && $http['searchPanes_null'][$field->name()][$i] === 'true' ? null : $http['searchPanes'][$field->name()][$i], '=' @@ -1996,7 +1996,7 @@ private function _ssp_filter($query, $http) for ($j = 0; $j < count($http['searchPanes'][$field->name()]); ++$j) { $q->or_where( $field->dbField(), - isset($http['searchPanes_null'][$field->name()][$j]) + isset($http['searchPanes_null'][$field->name()][$j]) && $http['searchPanes_null'][$field->name()][$j] === 'true' ? null : $http['searchPanes'][$field->name()][$j], '='