From 189c0928d250e57ef28f6a3656331663c874d71c Mon Sep 17 00:00:00 2001 From: Yagami <976204163@qq.com> Date: Fri, 28 Aug 2020 13:48:29 +0800 Subject: [PATCH] * Remove empty options condition. --- lib/front/front.class.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/front/front.class.php b/lib/front/front.class.php index 2fb420bc1e..3d8bc633b7 100644 --- a/lib/front/front.class.php +++ b/lib/front/front.class.php @@ -156,7 +156,6 @@ class html extends baseHTML { $options = (array)($options); if($append and !isset($options[$selectedItems])) $options[$selectedItems] = $selectedItems; - if(!is_array($options) or empty($options)) return false; /* The begin. */ $id = $name;