Skip to content

Commit

Permalink
AddNodeForm: Add missing getLabel() call
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhwinder33445 committed Apr 23, 2024
1 parent e9a551e commit 14e0b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/forms/AddNodeForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ protected function assembleExistingProcessElements(): void
} 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())) {
Expand Down

0 comments on commit 14e0b7d

Please sign in to comment.