From 2e6a8d435f4fa73882224b465716360ee2e7c693 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Fri, 12 Sep 2014 17:35:48 +0200 Subject: Add settings field to control project columns (pull-request #244) --- app/Model/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Model/Config.php') 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]; } -- cgit v1.2.3