mirror of
https://github.com/flarum/framework.git
synced 2025-03-15 00:05:12 +08:00
Wish it was automatic :/
This commit is contained in:
parent
8e90d9f9e2
commit
24580ced7a
@ -116,7 +116,7 @@ class RegisterUserHandler
|
||||
// from the get-go.
|
||||
if (isset($token)) {
|
||||
foreach ($token->payload as $k => $v) {
|
||||
if ($user->$k == "" || ! isset($user->$k)) {
|
||||
if ($user->$k == '' || ! isset($user->$k)) {
|
||||
$user->$k = $v;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user