Change == to ===

This commit is contained in:
Davis 2016-09-13 14:48:21 -05:00 committed by GitHub
parent b8de47c0b2
commit 6750089ace

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