From d500d06a0659cdc7740fe33c893e995bd7014f3a Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 15 Dec 2017 20:47:10 -0500 Subject: [PATCH] Fix User::create return variable --- src/Model/User.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Model/User.php b/src/Model/User.php index f7a235effe..d09d670a4b 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -407,8 +407,8 @@ class User call_hooks('register_account', $uid); - $result['user'] = $user; - return $result; + $return['user'] = $user; + return $return; } /** -- 2.39.5