mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
#615 게시물 등록시 srl 변경 시키는 문제 수정
This commit is contained in:
parent
11adcfb4fb
commit
36980e4d5f
4 changed files with 47 additions and 1 deletions
|
|
@ -300,6 +300,10 @@ class commentController extends comment
|
|||
{
|
||||
$obj->comment_srl = getNextSequence();
|
||||
}
|
||||
elseif(!checkUserSequence($obj->comment_srl))
|
||||
{
|
||||
return new Object(-1, 'msg_not_permitted');
|
||||
}
|
||||
|
||||
// determine the order
|
||||
$obj->list_order = getNextSequence() * -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue