rabin %!s(int64=2) %!d(string=hai) anos
pai
achega
5e3332a590
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/card/src/Api.php

+ 1 - 1
app/card/src/Api.php

@@ -38,7 +38,7 @@ class Api extends Core
         $card = Dever::db('card/type')->getAll($where);
 
         if ($card) {
-            foreach ($card] as $k => $v) {
+            foreach ($card as $k => $v) {
                 $w['type_id'] = $v['id'];
                 $w['status'] = 1;
                 $w['create_type'] = 1;