lvhao 1 месяц назад
Родитель
Сommit
fa720e158e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      core/CoreApp/controllers/Shop.php

+ 1 - 1
core/CoreApp/controllers/Shop.php

@@ -60,7 +60,7 @@ class Shop extends Start_Controller {
 			if(!empty($type)){
 				$where  .= " and type = ".$type." ";
 			}
-			if($status === 0 || $status == 1){
+			if($status == 0 || $status == 1){
 				$where  .= " and status = ".$status." ";
 			}
             if(empty($page))