From 5121471c80a157260d215757296f778cb73a7682 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Tue, 23 Dec 2014 10:17:30 +0000 Subject: [PATCH] Remove check for empty values. Fixes #86 --- app/controllers/DashSettingsController.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/controllers/DashSettingsController.php b/app/controllers/DashSettingsController.php index fe71a54f..cd6c275e 100644 --- a/app/controllers/DashSettingsController.php +++ b/app/controllers/DashSettingsController.php @@ -19,14 +19,10 @@ class DashSettingsController extends Controller */ public function postSettings() { + // Fetch all of the settings we've been POSTed. $settings = Input::all(); foreach ($settings as $settingName => $settingValue) { - // Don't save empty settings. Kinda useless... - if (!$settingValue) { - continue; - } - if (strstr($settingName, 'style_')) { $settingValue = str_replace('#', '', $settingValue); }