Sfoglia il codice sorgente

Fix Minz_Session::param visibility (#5889)

Regression from https://github.com/FreshRSS/FreshRSS/pull/5830
Alexandre Alapetite 2 anni fa
parent
commit
e70e5542e4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      lib/Minz/Session.php

+ 1 - 1
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;
 	}