From 14e0b7d2616ccf4e5cca0131e4564a67e01091c7 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Tue, 23 Apr 2024 12:13:01 +0200 Subject: [PATCH] AddNodeForm: Add missing `getLabel()` call --- application/forms/AddNodeForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/forms/AddNodeForm.php b/application/forms/AddNodeForm.php index fda6c8e7..0e1aa0f7 100644 --- a/application/forms/AddNodeForm.php +++ b/application/forms/AddNodeForm.php @@ -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())) {