fix: [settings] No error by default

pull/70/head
mokaddem 2021-07-30 08:19:32 +02:00
parent 57ab7c6ed8
commit 74a8a4cac2
1 changed files with 1 additions and 0 deletions

View File

@ -280,6 +280,7 @@ class SettingsProviderTable extends AppTable
$skipValidation = $parentSetting['error'] === true || empty($parentSetting['value']);
}
}
$setting['error'] = false;
if (!$skipValidation) {
$validationResult = true;
if (!isset($setting['value'])) {