mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 22:02:13 +09:00
게시글 등록시에 원본글을 등록하도록 개선
This commit is contained in:
parent
9a60af1871
commit
301861e35a
3 changed files with 34 additions and 6 deletions
|
|
@ -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';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue