diff --git a/webapp/controller/SignController.class.php b/webapp/controller/SignController.class.php index 200aeeb..9a76725 100644 --- a/webapp/controller/SignController.class.php +++ b/webapp/controller/SignController.class.php @@ -281,7 +281,7 @@ class SignController{ $dayid = ($week - 1) * 7 + $_REQUEST['sign_id']; //如果大于配置表最后一周,按最后一周奖励 $g_conf_sign_cluster = require('../res/signDaily@signDaily.php'); - if ($dayid >= count($g_conf_sign_cluster)) { + if ($dayid > count($g_conf_sign_cluster)) { $dayid = count($g_conf_sign_cluster) + $_REQUEST['sign_id'] - 7; } $s = $this->getSign($dayid + 90000);