Add default value to null rather than not set

This commit is contained in:
Chris
2018-11-06 09:20:53 +00:00
parent e8e4cbfd41
commit c56043e1f9

View File

@@ -68,6 +68,8 @@ class SettingsController extends Controller
if (!is_null($setting)) {
$data = Setting::getInput();
$setting_value = null;
if ($setting->type == 'image') {