Change == to ===

This commit is contained in:
Davis 2016-09-13 14:48:21 -05:00 committed by GitHub
parent 24580ced7a
commit 258a4b352d

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