mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 23:13:44 +08:00
Change == to ===
This commit is contained in:
parent
b8de47c0b2
commit
6750089ace
|
@ -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