File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 33/**
44 * This file is part of MetaModels/filter_range.
55 *
6- * (c) 2012-2024 The MetaModels team.
6+ * (c) 2012-2025 The MetaModels team.
77 *
88 * For the full copyright and license information, please view the LICENSE
99 * file that was distributed with this source code.
1515 * @author Stefan Heimes <stefan_heimes@hotmail.com>
1616 * @author Richard Henkenjohann <richardhenkenjohann@googlemail.com>
1717 * @author Ingolf Steinhardt <info@e-spin.de>
18- * @copyright 2012-2024 The MetaModels team.
18+ * @copyright 2012-2025 The MetaModels team.
1919 * @license https://github.com/MetaModels/filter_range/blob/master/LICENSE LGPL-3.0-or-later
2020 * @filesource
2121 */
@@ -364,7 +364,7 @@ public function prepareRules(IFilter $objFilter, $arrFilterUrl)
364364 $ value = $ this ->getParameterValue ($ arrFilterUrl );
365365
366366 // No filter values, get out.
367- if (!is_array ($ value )) {
367+ if (!\ is_array ($ value ) || [] === $ value ) {
368368 $ objFilter ->addFilterRule (new StaticIdList (null ));
369369
370370 return ;
You can’t perform that action at this time.
0 commit comments