dever %!s(int64=3) %!d(string=hai) anos
pai
achega
d0a3c222f4
Modificáronse 1 ficheiros con 3 adicións e 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);