1
This commit is contained in:
parent
4a8fd7b5f1
commit
a473ae2560
@ -64,7 +64,7 @@ class SignController{
|
|||||||
} else {
|
} else {
|
||||||
if (phpcommon\getdayseconds(time()) - phpcommon\getdayseconds($row['sign_time']) > 0) {
|
if (phpcommon\getdayseconds(time()) - phpcommon\getdayseconds($row['sign_time']) > 0) {
|
||||||
$sign_days = $row['sign_days'] + 1;
|
$sign_days = $row['sign_days'] + 1;
|
||||||
$signable = 1;
|
$signable = 0;
|
||||||
$ret = $conn->execScript('UPDATE sign SET sign_days=:sign_days, sign_time=:sign_time ' .
|
$ret = $conn->execScript('UPDATE sign SET sign_days=:sign_days, sign_time=:sign_time ' .
|
||||||
' WHERE accountid=:accountid;',
|
' WHERE accountid=:accountid;',
|
||||||
array(
|
array(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user