Skip to content

Commit

Permalink
Merge branch '3.4' into 4.4
Browse files Browse the repository at this point in the history
* 3.4:
  Adjust expired range check
  • Loading branch information
nicolas-grekas committed Oct 2, 2020
2 parents af09f2f + 9c7451d commit 9a1786e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ public function isHttpOnly()
*/
public function isExpired()
{
return null !== $this->expires && 0 != $this->expires && $this->expires < time();
return null !== $this->expires && 0 != $this->expires && $this->expires <= time();
}

/**
Expand Down

0 comments on commit 9a1786e

Please sign in to comment.