From 0c1ddc709c1dc37579c9a7be8217531dc0346bcd Mon Sep 17 00:00:00 2001 From: henriyli Date: Fri, 4 Dec 2015 14:35:23 +0200 Subject: [PATCH] fixing the parameter name that was broken in the last commit --- model/GlobalConfig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/GlobalConfig.php b/model/GlobalConfig.php index ed8c97055..c4a216808 100644 --- a/model/GlobalConfig.php +++ b/model/GlobalConfig.php @@ -16,7 +16,7 @@ public function __construct($config_name=null) throw new Exception('config.inc file is missing, please provide one.'); } require_once($file_path); - if (isset($languages)) { + if (isset($LANGUAGES)) { $this->languages = $LANGUAGES; } } catch (Exception $e) {