Improved problem reverting records didn't write

This commit is contained in:
BJRambo 2016-03-14 10:03:58 +09:00
parent e37a7adcc7
commit e9acd7fe14
2 changed files with 3 additions and 0 deletions

View file

@ -259,6 +259,8 @@ class boardController extends board
$obj->title_bold = $update_log->title_bold;
$obj->title_color = $update_log->title_color;
$obj->content = $update_log->content;
$obj->update_log_setting = 'Y';
$obj->reason_update = lang('board.revert_reason_update');
$output = $oDocumentController->updateDocument($oDocument, $obj);
$this->setRedirectUrl(getNotEncodedUrl('', 'mid', Context::get('mid'),'act', '', 'document_srl', $update_log->document_srl));
$this->add('mid', Context::get('mid'));

View file

@ -66,3 +66,4 @@ $lang->cmd_modify_by_update_log = '이 로그로 게시물을 수정하기';
$lang->msg_admin_update_log = '관리자가 수정한 적이 있는 게시물입니다. 관리자에게 문의하세요.';
$lang->msg_update_log_revert = '정말로 이 게시물로 되돌리시겠습니까?';
$lang->write_admin = '관리자작성';
$lang->revert_reason_update = '작성글을 현재글로 되돌림';