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
1 changed files with 1 additions and 1 deletions

View File

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