From 67af2ae7a761cfea2dca987fd20cce92057041e7 Mon Sep 17 00:00:00 2001 From: popcorner <351633+popcorner@user.noreply.gitee.com> Date: Mon, 10 May 2021 17:54:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E6=96=B0=E5=AE=89?= =?UTF-8?q?=E8=A3=85Discuz=E5=90=8E=E5=88=9B=E5=A7=8B=E4=BA=BA=E8=B4=A6?= =?UTF-8?q?=E6=88=B7=E4=B8=AA=E4=BA=BA=E8=B5=84=E6=96=99=E9=87=8C=E7=9A=84?= =?UTF-8?q?=E6=97=B6=E5=8C=BA=E6=98=AF=E8=8B=B1=E5=9B=BD=E6=97=B6=E5=8C=BA?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload/install/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload/install/index.php b/upload/install/index.php index 13612fb75..7e3492b88 100644 --- a/upload/install/index.php +++ b/upload/install/index.php @@ -406,7 +406,7 @@ if($method == 'show_license') { $password = md5(random(10)); - $db->query("REPLACE INTO {$tablepre}common_member (uid, username, password, adminid, groupid, email, regdate) VALUES ('$uid', '$username', '$password', '1', '1', '$email', '".time()."');"); + $db->query("REPLACE INTO {$tablepre}common_member (uid, username, password, adminid, groupid, email, regdate, timeoffset) VALUES ('$uid', '$username', '$password', '1', '1', '$email', '".time()."', '9999');"); // UID 是变量, 不做适配会导致积分操作等异常 if($uid) { -- Gitee