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) {