mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/attach-dl] Remove backticks from SQL query.
PHPBB3-11042
This commit is contained in:
parent
8f3c1d8ea1
commit
aa6effbb0c
1 changed files with 2 additions and 2 deletions
|
@ -392,13 +392,13 @@ else
|
||||||
|
|
||||||
if ($post_id)
|
if ($post_id)
|
||||||
{
|
{
|
||||||
$sql = 'SELECT `post_subject`
|
$sql = 'SELECT post_subject
|
||||||
FROM ' . POSTS_TABLE . "
|
FROM ' . POSTS_TABLE . "
|
||||||
WHERE post_id = $post_id";
|
WHERE post_id = $post_id";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$sql = 'SELECT `topic_title`
|
$sql = 'SELECT topic_title
|
||||||
FROM ' . TOPICS_TABLE . "
|
FROM ' . TOPICS_TABLE . "
|
||||||
WHERE topic_id = $topic_id";
|
WHERE topic_id = $topic_id";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue