امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
Very minor issue but the
just needs to be:
Then it accepts 2 and rejects a 3rd.
Strangely the check above works...
Read more
unassociatedAttachmentLimit config value actually accepts 1 less than the limit. Easier to test if you set $config['unassociatedAttachmentLimit'] = 2;, you get the error after uploading 1 attachment instead of 2.src/XF/Attachment/Manipulator.php:140:$allowed = ($uploaded < $unassociatedLimit);just needs to be:
$allowed = ($uploaded <= $unassociatedLimit);Then it accepts 2 and rejects a 3rd.
Strangely the check above works...
Read more
