[ticket/12174] Coding style

PHPBB3-12174
This commit is contained in:
Tristan Darricau 2014-05-10 23:50:42 +02:00
parent 27cb84d3d4
commit ca5987ceb8

View file

@ -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