امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
PHP:
This code ignores attachments that have thumbnails but are not grouped as images.
Changing this to
PHP:
Read more
کد:
$attachments = $attachments->filter(function(Attachment $attachment) use ($canViewAttachments)
{
if ($attachment->type_grouping != 'image')
{
return false;
}
return $canViewAttachments || $attachment->hasThumbnail();
});
This code ignores attachments that have thumbnails but are not grouped as images.
Changing this to
PHP:
کد:
$attachments = $attachments->filter(function(Attachment $attachment) use ($canViewAttachments)
{
return $canViewAttachments ||...
Read more
