Fix bug after refactoring

This commit is contained in:
Frédéric Guillot
2014-12-28 13:12:27 -05:00
parent 105ea9fbf5
commit 91a99c5e6d

View File

@@ -81,7 +81,7 @@ class Config extends Base
$this->session['config'] = $this->getAll(); $this->session['config'] = $this->getAll();
} }
if (isset($this->session['config'][$name])) { if (! empty($this->session['config'][$name])) {
return $this->session['config'][$name]; return $this->session['config'][$name];
} }