lvhao преди 1 месец
родител
ревизия
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))