lvhao 1 mēnesi atpakaļ
vecāks
revīzija
fa720e158e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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))