mirror of
https://github.com/flarum/framework.git
synced 2024-11-28 20:16:08 +08:00
Change == to ===
This commit is contained in:
parent
24580ced7a
commit
258a4b352d
|
@ -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…
Reference in New Issue
Block a user