aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/download/file.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/download/file.php b/phpBB/download/file.php
index 35c940dd61..d31c33b781 100644
--- a/phpBB/download/file.php
+++ b/phpBB/download/file.php
@@ -393,14 +393,14 @@ else
if ($post_id)
{
$sql = 'SELECT post_subject
- FROM ' . POSTS_TABLE . "
- WHERE post_id = $post_id";
+ FROM ' . POSTS_TABLE . "
+ WHERE post_id = $post_id";
}
else
{
$sql = 'SELECT topic_title
- FROM ' . TOPICS_TABLE . "
- WHERE topic_id = $topic_id";
+ FROM ' . TOPICS_TABLE . "
+ WHERE topic_id = $topic_id";
}
$result = $db->sql_query($sql);