mirror of
https://github.com/flarum/framework.git
synced 2025-02-27 05:28:38 +08:00
Change == to ===
This commit is contained in:
parent
24580ced7a
commit
258a4b352d
@ -116,7 +116,7 @@ class RegisterUserHandler
|
|||||||
// from the get-go.
|
// from the get-go.
|
||||||
if (isset($token)) {
|
if (isset($token)) {
|
||||||
foreach ($token->payload as $k => $v) {
|
foreach ($token->payload as $k => $v) {
|
||||||
if ($user->$k == '' || ! isset($user->$k)) {
|
if ($user->$k === '' || ! isset($user->$k)) {
|
||||||
$user->$k = $v;
|
$user->$k = $v;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user