From: Marcel Werk Date: Tue, 18 Aug 2020 13:39:11 +0000 (+0200) Subject: Fixed double call of executeAction() X-Git-Tag: 5.3.0_Alpha_1~50^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e2d878543efbb8ee9ae61b2b63728484828872f9;p=GitHub%2FWoltLab%2FWCF.git Fixed double call of executeAction() --- 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()]), ]); } }