aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/download/file.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2012-08-10 02:13:28 +0200
committerAndreas Fischer <bantu@phpbb.com>2012-08-10 02:36:38 +0200
commit0226bc43dd2048bb2d90e55c3036b53e50d2288b (patch)
treeecbe5d230da6f0c85ca56f2b7b1887e2090e57bb /phpBB/download/file.php
parentdd43af0ab66e14f152d7add4dbb5b07d68ec6150 (diff)
downloadforums-0226bc43dd2048bb2d90e55c3036b53e50d2288b.tar
forums-0226bc43dd2048bb2d90e55c3036b53e50d2288b.tar.gz
forums-0226bc43dd2048bb2d90e55c3036b53e50d2288b.tar.bz2
forums-0226bc43dd2048bb2d90e55c3036b53e50d2288b.tar.xz
forums-0226bc43dd2048bb2d90e55c3036b53e50d2288b.zip
[feature/attach-dl] Fix query indentation.
PHPBB3-11042
Diffstat (limited to 'phpBB/download/file.php')
-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);