From d9414fc25c24a0903f8685f9c203de91f755df39 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Sat, 30 May 2015 09:42:29 +0100 Subject: [PATCH] Update Repository.php --- app/Config/Repository.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Config/Repository.php b/app/Config/Repository.php index d346223f..203807da 100644 --- a/app/Config/Repository.php +++ b/app/Config/Repository.php @@ -55,8 +55,8 @@ class Repository $this->settings = $this->model->all()->lists('value', 'name'); } - // if the setting exists, return it - if (isset($this->settings[$name]) && $this->settings[$name]) { + // if the setting exists and is not blank, return it + if (!empty($this->settings[$name])) { return $this->settings[$name]; }