dever 3 vuotta sitten
vanhempi
commit
581dd75d4e
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  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;
     }