XF 2.1 Upload form limits to 20 files?

Jaxel

Well-known member
I have an upload row in my addon:
Code:
<xf:uploadrow name="uploads[]" label="{{ phrase('image') }}"
    multiple="true" accept=".gif,.jpeg,.jpg,.jpe,.png" />
And then in php:
Code:
$uploads = $this->request->getFile('uploads', true, false);
As you can see, it accepts multiple files. However, something I have noticed is that if I select 35 files to upload, only the first 20 files are included in $uploads.

How can I fix this?
 
Top Bottom