1
This commit is contained in:
parent
d0acb0e9e9
commit
9997b30cd4
@ -199,7 +199,7 @@ class RoleController{
|
||||
}
|
||||
$nowTime = phpcommon\getdayseconds(time());
|
||||
$daily_first_login = $row['daily_first_login'];
|
||||
if ($row['daily_time'] == 0 || ($nowTime - phpcommon\getdayseconds($row['daily_time']) > 0)) {
|
||||
if ($row['update_time'] == 0 || ($nowTime - phpcommon\getdayseconds($row['update_time']) > 0)) {
|
||||
$ret = $conn->execScript('UPDATE user SET daily_first_login=0, ' .
|
||||
'modify_time=:modify_time WHERE accountid=:accountid;',
|
||||
array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user