| 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( |