From 724ee1be064f91198a7981bde0aca4080a1c82f7 Mon Sep 17 00:00:00 2001 From: Jimako Date: Fri, 28 Jul 2023 20:29:29 +0200 Subject: [PATCH] fix for type checkboxes and filtering #4474 FIX #4474 --- e107_handlers/admin_ui.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/e107_handlers/admin_ui.php b/e107_handlers/admin_ui.php index a6b9176e9c..4bfa152b1b 100755 --- a/e107_handlers/admin_ui.php +++ b/e107_handlers/admin_ui.php @@ -8211,6 +8211,15 @@ public function renderBatchFilter($type='batch', $selected = '') // Common funct case 'checkboxes': case 'comma': + + if (!empty($parms['optArray'])) + { + $fopts = $parms; + $parms = $fopts['optArray']; + unset($fopts['optArray']); + $parms['__options'] = $fopts; + } + // TODO lan if(!isset($parms['__options'])) {