MonitoringWizard: Prefer our form error implementation
This commit is contained in:
parent
d69ab427a6
commit
3b63868ed9
|
@ -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.'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue