fix
This commit is contained in:
parent
15f55d4755
commit
4650d0d2d6
@ -207,7 +207,7 @@ class ActivityController
|
||||
if (!$row) {
|
||||
$ret = $conn->execScript(
|
||||
'INSERT INTO activity(accountid, free_times, video_times, diamond_times, item_id, item_num, create_time, modify_time, now_days) ' .
|
||||
' VALUES(:accountid, 0, 0, 0, 0, :create_time, :modify_time, 1) ' .
|
||||
' VALUES(:accountid, 0, 0, 0, 0, 0, :create_time, :modify_time, 1) ' .
|
||||
' ON DUPLICATE KEY UPDATE accountid=:accountid, free_times=0, video_times=0, diamond_times=0, item_id=0, item_num=0, modify_time=:modify_time, now_days=1;',
|
||||
array(
|
||||
':accountid' => $account_id,
|
||||
|
Loading…
x
Reference in New Issue
Block a user