/** * @see Form::save() */ public function save() { parent::save(); // save comment $comment = ContestSolutionCommentEditor::create($this->solutionObj->solutionID, $this->comment, WCF::getUser()->userID, $this->username); $this->saved(); // forward HeaderUtil::redirect('index.php?page=ContestSolutionEntry' . '&contestID=' . $this->solutionObj->contestID . '&solutionID=' . $this->solutionObj->solutionID . SID_ARG_2ND_NOT_ENCODED . '#comment' . $comment->commentID); exit; }