From 68fee6d1b393743670f168a8d3366a256f4a82ce Mon Sep 17 00:00:00 2001 From: James Brooks Date: Mon, 29 Dec 2014 19:52:34 +0000 Subject: [PATCH] We need to store the # within the value --- app/controllers/DashSettingsController.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/controllers/DashSettingsController.php b/app/controllers/DashSettingsController.php index cd6c275e..2cac37a9 100644 --- a/app/controllers/DashSettingsController.php +++ b/app/controllers/DashSettingsController.php @@ -23,10 +23,6 @@ class DashSettingsController extends Controller $settings = Input::all(); foreach ($settings as $settingName => $settingValue) { - if (strstr($settingName, 'style_')) { - $settingValue = str_replace('#', '', $settingValue); - } - $setting = Setting::firstOrCreate([ 'name' => $settingName, ])->update([