--- fenglin/bbs/restore.php 2025/03/01 08:43:29 1.2 +++ fenglin/bbs/restore.php 2025/03/06 07:41:52 1.3 @@ -31,7 +31,7 @@ if (!($_SESSION["BBS_priv"]->checkpriv($ exit(); } -mysql_query("update bbs set visible=1,m_del=0,cached=0 where AID=$id") +mysql_query("update bbs set visible=1,m_del=0 where AID=$id") or die("Delete article error!"); //Add log @@ -41,7 +41,7 @@ article_op_log($id,$_SESSION["BBS_uid"], //Set last reply date if ($tid!=0) { - mysql_query("update bbs set cached=0,reply_count=reply_count+1 where aid=$tid") + mysql_query("update bbs set reply_count=reply_count+1 where aid=$tid") or die("Update article error!"); }