summaryrefslogtreecommitdiff
path: root/app/Model/Config.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-09-12 17:35:48 +0200
committerFrédéric Guillot <fred@kanboard.net>2014-09-12 17:35:48 +0200
commit2e6a8d435f4fa73882224b465716360ee2e7c693 (patch)
tree9839a499905c350cd02d56454a25b90a79ede41f /app/Model/Config.php
parentc3a0cf43430438bfe7e7b0ccccfadb72a74331d6 (diff)
Add settings field to control project columns (pull-request #244)
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 89bcb58b..f411e3e2 100644
--- a/app/Model/Config.php
+++ b/app/Model/Config.php
@@ -72,7 +72,7 @@ class Config extends Base
$_SESSION['config'] = $this->getAll();
}
- if (isset($_SESSION['config'][$name])) {
+ if (! empty($_SESSION['config'][$name])) {
return $_SESSION['config'][$name];
}