openrat-cms

OpenRat Content Management System
git clone http://git.code.weiherhei.de/openrat-cms.git
Log | Files | Refs | README

commit c799165fa6db27f4d3ff47a75046eefcfe0616ec
parent fbeb47c4ff445e09130ee3a8abfaea0331e10687
Author: Jan Dankert <develop@jandankert.de>
Date:   Thu, 19 Nov 2020 23:26:07 +0100

Fix: Loading fallback language was broken.

Diffstat:
Mmodules/language/Language.class.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/language/Language.class.php b/modules/language/Language.class.php @@ -35,7 +35,7 @@ class Language foreach( $isos as $l ) { - $languageClazz = __NAMESPACE__.'\Language_'.strtoupper($iso); + $languageClazz = __NAMESPACE__.'\Language_'.strtoupper($l); // Is language file available? if ( class_exists($languageClazz) )