* Fix bug.

This commit is contained in:
孙广明
2022-01-18 15:10:57 +08:00
parent 50f042f29d
commit 7f278b4c79
+1 -1
View File
@@ -356,7 +356,7 @@ class productModel extends model
->beginIF(!$this->app->user->admin)->andWhere('t2.id')->in($this->app->user->view->products)->fi()
->beginIF(strpos($status, 'noclosed') !== false)->andWhere('t2.status')->ne('closed')->fi()
->orderBy($orderBy . 't2.order asc')
->fetchAll();
->fetchAll('id');
$products = array();
foreach($projectProducts as $product)