mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
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…
x
Reference in New Issue
Block a user