Skip to content

Commit 9a1786e

Browse files
Merge branch '3.4' into 4.4
* 3.4: Adjust expired range check
2 parents af09f2f + 9c7451d commit 9a1786e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cookie.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ public function isHttpOnly()
309309
*/
310310
public function isExpired()
311311
{
312-
return null !== $this->expires && 0 != $this->expires && $this->expires < time();
312+
return null !== $this->expires && 0 != $this->expires && $this->expires <= time();
313313
}
314314

315315
/**

0 commit comments

Comments
 (0)