Просмотр исходного кода

Fix lang_name (#5798)

fix https://github.com/FreshRSS/FreshRSS/issues/5797
Alexandre Alapetite 2 лет назад
Родитель
Сommit
a5748ad74f
1 измененных файлов с 1 добавлено и 1 удалено
  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.
 	 */
-	private static string $lang_name;
+	private static string $lang_name = '';
 
 	/**
 	 * $lang_files is a list of registered i18n files.