Redirect to URL with comment_srl after writing a new comment

This commit is contained in:
Kijin Sung 2019-09-14 20:14:13 +09:00
parent 9978388afb
commit 63daede292
2 changed files with 2 additions and 2 deletions

View file

@ -508,7 +508,7 @@ class boardController extends board
}
$this->setMessage('success_registed');
$this->setRedirectUrl(getNotEncodedUrl('', 'mid', Context::get('mid'), 'act', '', 'document_srl', $obj->document_srl) . '#comment_' . $obj->comment_srl);
$this->setRedirectUrl(getNotEncodedUrl('', 'mid', Context::get('mid'), 'act', '', 'document_srl', $obj->document_srl, 'comment_srl', $obj->comment_srl) . '#comment_' . $obj->comment_srl);
$this->add('mid', Context::get('mid'));
$this->add('document_srl', $obj->document_srl);
$this->add('comment_srl', $obj->comment_srl);