Also auto-generate the regdate field if it is empty

This commit is contained in:
Kijin Sung 2016-07-24 18:02:04 +09:00
parent 3245c3ae46
commit 6a9681622c

View file

@ -998,6 +998,12 @@ class ncenterliteController extends ncenterlite
{
$args->notify = $this->_getNotifyId($args);
}
// 날짜가 없는 경우 자동 생성
if (!$args->regdate)
{
$args->regdate = date('YmdHis');
}
if($anonymous == TRUE)
{