GeneralConfigForm: Fix error if there's no config.ini
This commit is contained in:
parent
744fe5977f
commit
16f1f51f66
|
@ -42,7 +42,7 @@ class GeneralConfigForm extends ConfigForm
|
||||||
{
|
{
|
||||||
parent::onRequest();
|
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');
|
$this->warning('The preferences backend of type INI is deprecated and will be removed with version 2.11');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue