From e2298d861cebd9aec6c445c3a0f937221c8806a7 Mon Sep 17 00:00:00 2001 From: Michael Yoo Date: Sat, 14 Dec 2013 15:27:38 +1030 Subject: [PATCH] Fix #996 --- src/utils/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/Config.php b/src/utils/Config.php index dc194003..1550c497 100644 --- a/src/utils/Config.php +++ b/src/utils/Config.php @@ -167,7 +167,7 @@ class Config{ } public function &get($k){ - if($this->correct === false or !isset($this->config[$k])){ + if(isset($this->correct) and ($this->correct === false or !isset($this->config[$k]))){ $false = false; return $false; }