diff --git a/Modules/Setting/Resources/views/admin/fields/plain/radio.blade.php b/Modules/Setting/Resources/views/admin/fields/plain/radio.blade.php index f53eb5d8f..0a9454e52 100644 --- a/Modules/Setting/Resources/views/admin/fields/plain/radio.blade.php +++ b/Modules/Setting/Resources/views/admin/fields/plain/radio.blade.php @@ -5,7 +5,7 @@ name="{{ $settingName }}" type="radio" class="flat-blue" - {{ isset($dbSettings[$settingName]) && (bool)$dbSettings[$settingName]->plainValue == $value ? 'checked' : '' }} + {{ isset($dbSettings[$settingName]) && $dbSettings[$settingName]->plainValue == $value ? 'checked' : '' }} value="{{ $value }}" /> {{ trans($optionName) }} diff --git a/Modules/Setting/Resources/views/admin/fields/translatable/radio.blade.php b/Modules/Setting/Resources/views/admin/fields/translatable/radio.blade.php index 497d6f7f9..a1068354c 100644 --- a/Modules/Setting/Resources/views/admin/fields/translatable/radio.blade.php +++ b/Modules/Setting/Resources/views/admin/fields/translatable/radio.blade.php @@ -6,7 +6,7 @@ name="{{ $settingName . "[$lang]" }}" type="radio" class="flat-blue" - {{ isset($dbSettings[$settingName]) && (bool)$oldValue == $value ? 'checked' : '' }} + {{ isset($dbSettings[$settingName]) && $oldValue == $value ? 'checked' : '' }} value="{{ $value }}" /> {{ trans($optionName) }}