From 91a99c5e6d30f5d8122ba67f9a8ab187cf938453 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sun, 28 Dec 2014 13:12:27 -0500 Subject: Fix bug after refactoring --- app/Model/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Model') 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]; } -- cgit v1.2.3