Issue 9402: Avoid message "invalid storage backend settings" on empty value

This commit is contained in:
Michael Vogel 2020-12-19 18:17:12 +01:00
parent b72f6d05cd
commit e66fba9757

View file

@ -247,7 +247,7 @@ class Site extends BaseAdmin
} }
DI::baseUrl()->redirect('admin/site' . $active_panel); DI::baseUrl()->redirect('admin/site' . $active_panel);
} }
} else { } elseif (!empty($storagebackend)) {
notice(DI::l10n()->t('Invalid storage backend setting value.')); notice(DI::l10n()->t('Invalid storage backend setting value.'));
} }