]> git.mxchange.org Git - friendica.git/commitdiff
Fix User::create return variable
authorHypolite Petovan <mrpetovan@gmail.com>
Sat, 16 Dec 2017 01:47:10 +0000 (20:47 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Sat, 16 Dec 2017 01:47:10 +0000 (20:47 -0500)
src/Model/User.php

index f7a235effe6674ee559117af4b857bcfc4e4d036..d09d670a4bffffb5b85dbcfb560962e1c31145de 100644 (file)
@@ -407,8 +407,8 @@ class User
 
                call_hooks('register_account', $uid);
 
-               $result['user'] = $user;
-               return $result;
+               $return['user'] = $user;
+               return $return;
        }
 
        /**