Strip # has from setting values in the theme

This commit is contained in:
James Brooks
2014-12-20 18:35:25 +00:00
parent d04da0ba78
commit fb3711c999

View File

@@ -130,6 +130,10 @@ class DashboardController extends Controller {
continue;
}
if (strstr($settingName, 'style_')) {
$settingValue = str_replace('#', '', $settingValue);
}
$setting = Setting::firstOrCreate([
'name' => $settingName,
])->update([