From 88ced02622951d675e6b5c0ce608b986d131a1c2 Mon Sep 17 00:00:00 2001 From: Rodney Stromlund Date: Fri, 14 Aug 2020 10:47:46 -0500 Subject: [PATCH] Silence php 7.2 error message generated in `session_set_cookie_params`. --- classes/handler/public.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/handler/public.php b/classes/handler/public.php index 378e4b6c6..e6d94e223 100755 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -670,9 +670,9 @@ class Handler_Public extends Handler { $remember_me = clean($_POST["remember_me"]); if ($remember_me) { - session_set_cookie_params(SESSION_COOKIE_LIFETIME); + @session_set_cookie_params(SESSION_COOKIE_LIFETIME); } else { - session_set_cookie_params(0); + @session_set_cookie_params(0); } if (authenticate_user($login, $password)) {