mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-02 12:34:59 +02:00
[feature/attach-dl] Fix query indentation.
PHPBB3-11042
This commit is contained in:
parent
dd43af0ab6
commit
0226bc43dd
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user