Add default value to null rather than not set
This commit is contained in:
parent
e8e4cbfd41
commit
c56043e1f9
1 changed files with 2 additions and 0 deletions
|
@ -68,6 +68,8 @@ class SettingsController extends Controller
|
|||
if (!is_null($setting)) {
|
||||
$data = Setting::getInput();
|
||||
|
||||
$setting_value = null;
|
||||
|
||||
if ($setting->type == 'image') {
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue