1
0
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:
Fyorl 2012-08-07 18:21:29 +01:00
parent 10f0fc0713
commit c4655b32f3

View File

@ -333,8 +333,8 @@ else
if ($attachments && sizeof($attachments) < 2)
{
$attachment = current($attachments);
$attachments = false;
$attachment = $attachments[0];
}
if ($attachment)