dever hace 3 años
padre
commit
d0a3c222f4
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      app/shop/lib/Info.php

+ 3 - 0
app/shop/lib/Info.php

@@ -74,6 +74,9 @@ class Info
         if ($price_type) {
             $where['price_type'] = $price_type;
         }
+
+        $where['status'] = 1;
+        $where['state'] = 1;
         
         $data = Dever::db($table)->$method($where);