Explorar o código

crm book debug

zz %!s(int64=5) %!d(string=hai) anos
pai
achega
c2bbf67a4b
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      app/Client/SiteUser.php

+ 2 - 1
app/Client/SiteUser.php

@@ -33,7 +33,8 @@ class SiteUser
         foreach ($funcs as $func) {
             if (!$this->channel_id) {
                 //call_user_func($,$func);
-                call_user_func([$this,$funcs]);
+                //call_user_func([$this,$func]);
+                $this->$func();
             }
         }
         if ($this->channel_id) {