diff --git a/wcfsetup/install/files/lib/acp/form/CaptchaQuestionEditForm.class.php b/wcfsetup/install/files/lib/acp/form/CaptchaQuestionEditForm.class.php index 100053ad80..c9f3284730 100644 --- a/wcfsetup/install/files/lib/acp/form/CaptchaQuestionEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/CaptchaQuestionEditForm.class.php @@ -40,13 +40,14 @@ public function readParameters() } EOT ); - $this->formObject = new CaptchaQuestion($queryParameters['id']); - - if (!$this->formObject->getObjectID()) { - throw new IllegalLinkException(); - } } catch (MappingError) { throw new IllegalLinkException(); } + + $this->formObject = new CaptchaQuestion($queryParameters['id']); + + if (!$this->formObject->getObjectID()) { + throw new IllegalLinkException(); + } } }