--- fenglin/bbs/post_service.php 2025/04/04 07:56:29 1.2 +++ fenglin/bbs/post_service.php 2025/04/05 15:19:16 1.4 @@ -365,8 +365,7 @@ // Get upload quota and used space $atta_id_list = "-1"; $attachment_count = (isset($_FILES['attachment']['error']) ? count($_FILES['attachment']['error']) : 0); - - if ($attachment_count >= $BBS_upload_count_limit) + if ($attachment_count > $BBS_upload_count_limit) { $result_set["return"]["code"] = -1; array_push($result_set["return"]["errorFields"], array( @@ -623,9 +622,8 @@ while ($row = mysqli_fetch_array($rs)) { //Send notification message - $msg_content = "[hide]SYS_Reply_Article[/hide]有人回复了您所发表/回复的主题文章,快来". - "[article " . $tid . "#" . $aid . "]看看[/article]《" . $r_title . "》吧!\n"; + "[article $aid]看看[/article]《" . $r_title . "》吧!\n"; $sql = "INSERT INTO bbs_msg(fromUID, toUID, content, send_dt, send_ip) VALUES($BBS_sys_uid, " . $row["UID"] . ", '" .