mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix #2190 missing regdate in comment trigger object
This commit is contained in:
parent
a5e0b2c7fa
commit
6219a381a4
1 changed files with 5 additions and 0 deletions
|
|
@ -652,6 +652,11 @@ class CommentController extends Comment
|
|||
return new BaseObject(-1, 'msg_not_permitted');
|
||||
}
|
||||
|
||||
if (empty($obj->regdate))
|
||||
{
|
||||
$obj->regdate = date('YmdHis');
|
||||
}
|
||||
|
||||
// determine the order
|
||||
$obj->list_order = getNextSequence() * -1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue