1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-02 14:57:37 +02:00

[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