diff --git a/application/forms/Navigation/NavigationConfigForm.php b/application/forms/Navigation/NavigationConfigForm.php index 217da8a60..78be4d4c6 100644 --- a/application/forms/Navigation/NavigationConfigForm.php +++ b/application/forms/Navigation/NavigationConfigForm.php @@ -423,7 +423,9 @@ class NavigationConfigForm extends ConfigForm ) ); - $this->addSubForm($this->getItemForm($itemType)->create($formData), 'item_form'); + $itemForm = $this->getItemForm($itemType); + $this->addSubForm($itemForm, 'item_form'); + $itemForm->create($formData); // Requires a parent which gets set by addSubForm() } /**