Skip to content

Commit

Permalink
solve bug with false values
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsmartinez committed Jun 30, 2016
1 parent aa2e3da commit cbde24a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Config/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cbde24a

Please sign in to comment.