게시글 등록시에 원본글을 등록하도록 개선

This commit is contained in:
BJRambo 2016-02-26 13:35:41 +09:00
parent 9a60af1871
commit 301861e35a
3 changed files with 34 additions and 6 deletions

View file

@ -106,6 +106,11 @@ class boardController extends board
}
}
if($this->module_info->update_log == 'Y')
{
$obj->update_log_setting = 'Y';
}
// update the document if it is existed
if($is_update)
{
@ -147,11 +152,6 @@ class boardController extends board
$obj->update_order = $obj->list_order = (getNextSequence() * -1);
}
if($this->module_info->update_log == 'Y')
{
$obj->update_log_setting = 'Y';
}
$output = $oDocumentController->updateDocument($oDocument, $obj);
$msg_code = 'success_updated';

View file

@ -54,4 +54,5 @@ $lang->msg_admin_comment_no_modify = '최고관리자의 댓글을 수정할 권
$lang->msg_board_delete_protect_comment = '댓글이 작성된 댓글의 글을 삭제할 수 없습니다.';
$lang->msg_board_update_protect_comment = '댓글이 작성된 댓글의 글을 수정할 수 없습니다.';
$lang->msg_protect_regdate_document = '%s일 이전의 게시글은 수정 또는 삭제 할 수 없습니다.';
$lang->msg_protect_regdate_comment = '%s일 이전의 댓글은 수정 또는 삭제 할 수 없습니다.';
$lang->msg_protect_regdate_comment = '%s일 이전의 댓글은 수정 또는 삭제 할 수 없습니다.';
$lang->original_letter = '원본글';