diff --git a/application/forms/Config/GeneralConfigForm.php b/application/forms/Config/GeneralConfigForm.php index 57c1a4cbc..18d379094 100644 --- a/application/forms/Config/GeneralConfigForm.php +++ b/application/forms/Config/GeneralConfigForm.php @@ -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'); } }