mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/12174] Coding style
PHPBB3-12174
This commit is contained in:
parent
27cb84d3d4
commit
ca5987ceb8
1 changed files with 1 additions and 1 deletions
|
@ -439,7 +439,7 @@ class content_visibility
|
||||||
|
|
||||||
if ($post_id)
|
if ($post_id)
|
||||||
{
|
{
|
||||||
$sql = 'SELECT 1 as has_attachments
|
$sql = 'SELECT 1 AS has_attachments
|
||||||
FROM ' . POSTS_TABLE . '
|
FROM ' . POSTS_TABLE . '
|
||||||
WHERE topic_id = ' . (int) $topic_id . '
|
WHERE topic_id = ' . (int) $topic_id . '
|
||||||
AND post_attachment = 1
|
AND post_attachment = 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue