From fb2984e4476d2ef184f8489adcf9a1b094f1c299 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Tue, 14 Oct 2025 08:31:51 +0000 Subject: [PATCH] * [bug#66081,done,0.5h] fix bug. --- lib/base/dao/dao.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/base/dao/dao.class.php b/lib/base/dao/dao.class.php index 7326931242..3723b78d35 100644 --- a/lib/base/dao/dao.class.php +++ b/lib/base/dao/dao.class.php @@ -2829,6 +2829,8 @@ class baseSQL */ public function notin($ids) { + if(is_string($ids) && $ids === '') return $this; + if(is_array($ids) && empty($ids)) return $this; if($this->inCondition and !$this->conditionIsTrue) return $this; if((is_string($ids) && $ids === '') || (is_array($ids) && empty($ids)))