--- fenglin/bbs/post_service.php 2025/04/04 07:56:29 1.2 +++ fenglin/bbs/post_service.php 2025/04/04 08:03:04 1.3 @@ -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(