summaryrefslogtreecommitdiff
path: root/app/Model/Config.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model/Config.php')
-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];
}