From 9a273593594d3f3919cd0cbe6ca6a4bb61911b17 Mon Sep 17 00:00:00 2001 From: Franzz Date: Sun, 10 May 2020 11:38:41 +0200 Subject: [PATCH] Fix cookie typo --- inc/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/user.php b/inc/user.php index fa6f6a3..5f80c92 100644 --- a/inc/user.php +++ b/inc/user.php @@ -123,6 +123,6 @@ class User extends PhpObject { } private function updateCookie($iDeltaTime) { - setcookie(self::COOKIE_ID_USER, ($iDeltaTime < 0)?'':$this->iUserId, array('samesite' => 'Lax', 'expire' => time() + $iDeltaTime)); + setcookie(self::COOKIE_ID_USER, ($iDeltaTime < 0)?'':$this->iUserId, array('samesite' => 'Lax', 'expires' => time() + $iDeltaTime)); } } \ No newline at end of file