mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 20:12:14 +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');
|
return new BaseObject(-1, 'msg_not_permitted');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (empty($obj->regdate))
|
||||||
|
{
|
||||||
|
$obj->regdate = date('YmdHis');
|
||||||
|
}
|
||||||
|
|
||||||
// determine the order
|
// determine the order
|
||||||
$obj->list_order = getNextSequence() * -1;
|
$obj->list_order = getNextSequence() * -1;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue