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