shish 2 лет назад
Родитель
Сommit
ecda3ba220
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-ghs/controllers/ItemController.php

+ 1 - 1
app-ghs/controllers/ItemController.php

@@ -37,7 +37,7 @@ class ItemController extends BaseController
         }
         if (!empty($classId)) {
             if ($classId == -1) {
-                $where['discountPrice'] = 1;
+                $where['discountPrice>'] = 0;
             } elseif ($classId == -2) {
                 $where['reachNum>'] = 0;
             } elseif ($classId == -3) {