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;