From a473ae256085dd62af40ec2e03a6d18f021fa7db Mon Sep 17 00:00:00 2001 From: wangwei01 Date: Wed, 10 Apr 2019 16:24:20 +0800 Subject: [PATCH] 1 --- webapp/controller/SignController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/SignController.class.php b/webapp/controller/SignController.class.php index 6174a45..eea5436 100644 --- a/webapp/controller/SignController.class.php +++ b/webapp/controller/SignController.class.php @@ -64,7 +64,7 @@ class SignController{ } else { if (phpcommon\getdayseconds(time()) - phpcommon\getdayseconds($row['sign_time']) > 0) { $sign_days = $row['sign_days'] + 1; - $signable = 1; + $signable = 0; $ret = $conn->execScript('UPDATE sign SET sign_days=:sign_days, sign_time=:sign_time ' . ' WHERE accountid=:accountid;', array(