Browse Source

Add default value to null rather than not set

pull/308/head
Chris 6 years ago
parent
commit
c56043e1f9
  1. 2
      app/Http/Controllers/SettingsController.php

2
app/Http/Controllers/SettingsController.php

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

Loading…
Cancel
Save