From cbde24a1cc347a697d7094962e475a2e627ba9dc Mon Sep 17 00:00:00 2001 From: Ferran Martinez Date: Thu, 30 Jun 2016 16:29:33 +0200 Subject: [PATCH] solve bug with false values --- src/Config/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Config/Config.php b/src/Config/Config.php index dacd413..1872ad8 100644 --- a/src/Config/Config.php +++ b/src/Config/Config.php @@ -22,7 +22,7 @@ public function __construct($configs, $autoloads = false) public function get($name) { - if (!empty($this->configs[$name])) { + if (isset($this->configs[$name])) { return $this->configs[$name]; } elseif (strpos($name, '.') !== false) { $loc = &$this->configs;