dever %!s(int64=4) %!d(string=hai) anos
pai
achega
3ba3f4d058
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      app/goods/lib/Info.php

+ 4 - 0
app/goods/lib/Info.php

@@ -445,6 +445,10 @@ class Info
 
         $this->getGroup($info);
 
+        if (!$info['attr']) {
+            $info['price_type'] = 1;
+        }
+
         //$info['freight'] = 0;
         unset($info['f_price']);
         unset($info['cdate']);