mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-02-02 16:39:25 -05:00
AddNodeForm: Add missing getLabel() call
This commit is contained in:
parent
e9a551e581
commit
4c2246a7e0
1 changed files with 1 additions and 1 deletions
|
|
@ -244,7 +244,7 @@ class AddNodeForm extends CompatForm
|
|||
} elseif (! $this->bp->hasNode($nodeName)) {
|
||||
$term->setMessage($this->translate('No node with this name found in config'));
|
||||
} else {
|
||||
$term->setLabel($this->bp->getNode($nodeName)->getAlias());
|
||||
$term->setLabel($this->bp->getNode($nodeName)->getLabel());
|
||||
}
|
||||
|
||||
if ($this->parent !== null && $this->parent->hasChild($term->getSearchValue())) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue