* [bug#65226,done,0.2h] fix bug.

This commit is contained in:
sunguangming
2025-09-05 02:35:01 +00:00
parent e5c239a576
commit 84f86cc3a4
+1 -1
View File
@@ -433,7 +433,7 @@ class designModel extends model
->where($this->session->designQuery)
->andWhere('deleted')->eq('0')
->andWhere('project')->eq($projectID)
->beginIF($productID)->andWhere('product')->eq($productID)->fi()
->beginIF($productID)->andWhere('product')->in(is_numeric($productID) ? "0,$productID" : array_merge($productID, array(0)))->fi()
->orderBy($orderBy)
->page($pager)
->fetchAll('id');