Merge branch '3.4' into 4.4

* 3.4:
  Adjust expired range check
This commit is contained in:
Nicolas Grekas 2020-10-02 10:38:15 +02:00
commit 0d8721fc01
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ class Cookie
*/
public function isExpired()
{
return null !== $this->expires && 0 != $this->expires && $this->expires < time();
return null !== $this->expires && 0 != $this->expires && $this->expires <= time();
}
/**