dever 3 lat temu
rodzic
commit
5216149c0e
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      app/mshop/src/Out.php

+ 2 - 2
app/mshop/src/Out.php

@@ -59,7 +59,7 @@ class Out extends Core
     public function info()
     {
         $this->data['user'] = $this->user;
-        $this->data['type'] = Dever::db('shop/out_order')->config['type'];
+        $this->data['type'] = Dever::db('shop/out_order')->config['config_type'];
         return $this->data;
     }
 
@@ -192,7 +192,7 @@ class Out extends Core
         $info['goods'] = Dever::db('shop/out_order_goods')->select(array('order_id' => $info['id']));
         $info['cdate'] = date('Y-m-d H:i', $info['cdate']);
 
-        $type = Dever::db('shop/out_order')->config['type'];
+        $type = Dever::db('shop/out_order')->config['config_type'];
         $info['type_name'] = $type[$info['type']];
         if ($view) {
             foreach ($info['goods'] as $k => $v) {