1
0
mirror of https://github.com/flarum/core.git synced 2025-08-01 22:20:21 +02:00

Wish it was automatic :/

This commit is contained in:
Davis
2016-09-13 05:56:13 -05:00
committed by GitHub
parent 8e90d9f9e2
commit 24580ced7a

View File

@@ -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;
}
}