Skip to content

Commit

Permalink
Fix issue#467 id() method checks null instead of false
Browse files Browse the repository at this point in the history
  • Loading branch information
darron1217 committed Feb 11, 2018
1 parent a96dec0 commit bdd4474
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public function id()
{
$user = $this->user();

if ($user === null) {
if ($user === false) {
return 0;
}

Expand Down

0 comments on commit bdd4474

Please sign in to comment.