Skip to content

A free, self-hostable news aggregator…

Fix Minz_Session::param visibility (#5889)

Alexandre Alapetitee70e5542e477
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;
}