aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/download/file.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2012-08-10 02:04:39 +0200
committerAndreas Fischer <bantu@phpbb.com>2012-08-10 02:04:39 +0200
commitaa6effbb0c597b8ac5c81df7d8c8a543173b53b6 (patch)
tree42eeed37f59f1a2fa7569cac910c1c72ebaf7da1 /phpBB/download/file.php
parent8f3c1d8ea1c396881129cae729505d0a702a6151 (diff)
downloadforums-aa6effbb0c597b8ac5c81df7d8c8a543173b53b6.tar
forums-aa6effbb0c597b8ac5c81df7d8c8a543173b53b6.tar.gz
forums-aa6effbb0c597b8ac5c81df7d8c8a543173b53b6.tar.bz2
forums-aa6effbb0c597b8ac5c81df7d8c8a543173b53b6.tar.xz
forums-aa6effbb0c597b8ac5c81df7d8c8a543173b53b6.zip
[feature/attach-dl] Remove backticks from SQL query.
PHPBB3-11042
Diffstat (limited to 'phpBB/download/file.php')
-rw-r--r--phpBB/download/file.php4
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";
}