dever 3 anni fa
parent
commit
581dd75d4e
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      app/shop/src/Buy.php

+ 4 - 0
app/shop/src/Buy.php

@@ -41,6 +41,10 @@ class Buy extends Core
 
         $this->data['shop'] = $this->shop;
 
+        $act_id = Dever::input('act_id', 1);
+
+        $this->data['act'] = Dever::db('act/info')->find($act_id);
+
         return $this->data;
     }