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

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