[feature/attach-dl] Correct comment for post_id and topic_id case.

PHPBB3-11042
This commit is contained in:
Andreas Fischer 2012-08-07 13:40:53 +02:00
parent 89c102a744
commit 8a8f48528a

View file

@ -296,7 +296,7 @@ else if ($download_id)
} }
else else
{ {
// sizeof($attachments) > 1 // sizeof($attachments) >= 1
if ($post_id) if ($post_id)
{ {
$sql = 'SELECT p.forum_id, f.forum_password, f.parent_id $sql = 'SELECT p.forum_id, f.forum_password, f.parent_id