diff options
Diffstat (limited to 'phpBB/download/file.php')
| -rw-r--r-- | phpBB/download/file.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/download/file.php b/phpBB/download/file.php index 4dd592a2f6..e710928bec 100644 --- a/phpBB/download/file.php +++ b/phpBB/download/file.php @@ -392,13 +392,13 @@ else if ($post_id) { - $sql = 'SELECT `post_subject` + $sql = 'SELECT post_subject FROM ' . POSTS_TABLE . " WHERE post_id = $post_id"; } else { - $sql = 'SELECT `topic_title` + $sql = 'SELECT topic_title FROM ' . TOPICS_TABLE . " WHERE topic_id = $topic_id"; } |
