Explorar el Código

Fix lang_name (#5798)

fix https://github.com/FreshRSS/FreshRSS/issues/5797
Alexandre Alapetite hace 2 años
padre
commit
a5748ad74f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/Minz/Translate.php

+ 1 - 1
lib/Minz/Translate.php

@@ -18,7 +18,7 @@ class Minz_Translate {
 	/**
 	/**
 	 * $lang_name is the name of the current language to use.
 	 * $lang_name is the name of the current language to use.
 	 */
 	 */
-	private static string $lang_name;
+	private static string $lang_name = '';
 
 
 	/**
 	/**
 	 * $lang_files is a list of registered i18n files.
 	 * $lang_files is a list of registered i18n files.