summaryrefslogtreecommitdiff
path: root/app/Model
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-12-28 13:12:27 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-12-28 13:12:27 -0500
commit91a99c5e6d30f5d8122ba67f9a8ab187cf938453 (patch)
treebf52bb30eec3b1724642ce8eff31aab0458fedb2 /app/Model
parent105ea9fbf51a204fc03546f3ace434f8c43d01c9 (diff)
Fix bug after refactoring
Diffstat (limited to 'app/Model')
-rw-r--r--app/Model/Config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/Config.php b/app/Model/Config.php
index 54d9d7cd..1ee44a0e 100644
--- a/app/Model/Config.php
+++ b/app/Model/Config.php
@@ -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];
}