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'));