diff --git a/classes/controller/AdminController.php b/classes/controller/AdminController.php index 01970232d..67d88e69a 100644 --- a/classes/controller/AdminController.php +++ b/classes/controller/AdminController.php @@ -876,6 +876,11 @@ class AdminControllerCore extends Controller $filters = array(); if (isset($this->list_id)) { foreach ($_POST as $key => $value) { + // only process the filter fields. + if (stripos($key, $this->list_id.'Filter_') !== 0) { + continue; + } + if (is_array($value)) { if ($value[0] === '' && $value[1] === '') { $value = ''; @@ -894,6 +899,11 @@ class AdminControllerCore extends Controller } foreach ($_GET as $key => $value) { + // only process the filter fields. + if (stripos($key, $this->list_id.'Filter_') !== 0) { + continue; + } + if (is_array($value)) { if ($value[0] === '' && $value[1] === '') { $value = '';