/[LeafOK_CVS]/fenglin/bbs/post_service.php
ViewVC logotype

Diff of /fenglin/bbs/post_service.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 by sysadm, Fri Apr 4 07:56:29 2025 UTC Revision 1.3 by sysadm, Fri Apr 4 08:03:04 2025 UTC
# Line 365  Line 365 
365          // Get upload quota and used space          // Get upload quota and used space
366          $atta_id_list = "-1";          $atta_id_list = "-1";
367          $attachment_count = (isset($_FILES['attachment']['error']) ? count($_FILES['attachment']['error']) : 0);          $attachment_count = (isset($_FILES['attachment']['error']) ? count($_FILES['attachment']['error']) : 0);
368            if ($attachment_count > $BBS_upload_count_limit)
         if ($attachment_count >= $BBS_upload_count_limit)  
369          {          {
370                  $result_set["return"]["code"] = -1;                  $result_set["return"]["code"] = -1;
371                  array_push($result_set["return"]["errorFields"], array(                  array_push($result_set["return"]["errorFields"], array(


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1