From e70e5542e477e3cbcbde775cf7a7e7016c4c6c00 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Fri, 17 Nov 2023 13:47:13 +0100 Subject: Fix Minz_Session::param visibility (#5889) Regression from https://github.com/FreshRSS/FreshRSS/pull/5830 --- lib/Minz/Session.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Minz/Session.php b/lib/Minz/Session.php index 4372c2683..4553d3083 100644 --- a/lib/Minz/Session.php +++ b/lib/Minz/Session.php @@ -63,7 +63,7 @@ class Minz_Session { * @return mixed|false the value of the session variable, false if doesn’t exist * @deprecated Use typed versions instead */ - private static function param(string $p, $default = false) { + public static function param(string $p, $default = false) { return $_SESSION[$p] ?? $default; } -- cgit v1.2.3