mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 12:03:21 +01:00
[feature/attach-dl] Fixed a bug with single attachments
PHPBB3-11042
This commit is contained in:
parent
10f0fc0713
commit
c4655b32f3
@ -333,8 +333,8 @@ else
|
||||
|
||||
if ($attachments && sizeof($attachments) < 2)
|
||||
{
|
||||
$attachment = current($attachments);
|
||||
$attachments = false;
|
||||
$attachment = $attachments[0];
|
||||
}
|
||||
|
||||
if ($attachment)
|
||||
|
Loading…
x
Reference in New Issue
Block a user