From e2d878543efbb8ee9ae61b2b63728484828872f9 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Tue, 18 Aug 2020 15:39:11 +0200 Subject: [PATCH] Fixed double call of executeAction() --- .../install/files/lib/acp/form/ContactOptionAddForm.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/acp/form/ContactOptionAddForm.class.php b/wcfsetup/install/files/lib/acp/form/ContactOptionAddForm.class.php index b1ec92671a..867254ca80 100644 --- a/wcfsetup/install/files/lib/acp/form/ContactOptionAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/ContactOptionAddForm.class.php @@ -71,7 +71,7 @@ class ContactOptionAddForm extends AbstractCustomOptionForm { parent::save(); WCF::getTPL()->assign([ - 'objectEditLink' => LinkHandler::getInstance()->getControllerLink(ContactOptionEditForm::class, ['id' => $this->objectAction->executeAction()['returnValues']->getObjectID()]), + 'objectEditLink' => LinkHandler::getInstance()->getControllerLink(ContactOptionEditForm::class, ['id' => $this->objectAction->getReturnValues()['returnValues']->getObjectID()]), ]); } } -- 2.20.1