diff --git a/src/Configula/Config.php b/src/Configula/Config.php index 64ac688..49bcb32 100644 --- a/src/Configula/Config.php +++ b/src/Configula/Config.php @@ -178,7 +178,8 @@ public function getItem($item, $defaultValue = null) } elseif (strpos($item, '.') !== FALSE) { $cs = $this->configSettings; - if ($val = $this->getNestedVar($cs, $item)) { + $val = $this->getNestedVar($cs, $item); + if ($val !== null) { return $val; }