From 3b63868ed9798e6f97231aad7605fe6f887b3811 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 2 Jul 2015 09:45:00 +0200 Subject: [PATCH] MonitoringWizard: Prefer our form error implementation --- modules/monitoring/library/Monitoring/MonitoringWizard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/monitoring/library/Monitoring/MonitoringWizard.php b/modules/monitoring/library/Monitoring/MonitoringWizard.php index 43cd578c6..b91129d10 100644 --- a/modules/monitoring/library/Monitoring/MonitoringWizard.php +++ b/modules/monitoring/library/Monitoring/MonitoringWizard.php @@ -63,7 +63,7 @@ class MonitoringWizard extends Wizard implements SetupWizard || (($ldapResourceData = $this->getPageData('setup_ldap_resource')) !== null && $ldapResourceData['name'] === $request->getPost('name')) ) { - $page->addError(mt('monitoring', 'The given resource name is already in use.')); + $page->error(mt('monitoring', 'The given resource name is already in use.')); } } }