GeneralConfigForm: Fix error if there's no config.ini

This commit is contained in:
Johannes Meyer 2021-11-02 13:29:36 +01:00
parent 744fe5977f
commit 16f1f51f66
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class GeneralConfigForm extends ConfigForm
{
parent::onRequest();
if ($this->config->getConfigObject()->global->config_backend === 'ini') {
if ($this->config->get('global', 'config_backend') === 'ini') {
$this->warning('The preferences backend of type INI is deprecated and will be removed with version 2.11');
}
}