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