From ca5987ceb863d557bd3509e164f9fe982aecb00d Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Sat, 10 May 2014 23:50:42 +0200 Subject: [PATCH] [ticket/12174] Coding style PHPBB3-12174 --- phpBB/phpbb/content_visibility.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/phpbb/content_visibility.php b/phpBB/phpbb/content_visibility.php index bced0a3247..c186e7f765 100644 --- a/phpBB/phpbb/content_visibility.php +++ b/phpBB/phpbb/content_visibility.php @@ -439,7 +439,7 @@ class content_visibility if ($post_id) { - $sql = 'SELECT 1 as has_attachments + $sql = 'SELECT 1 AS has_attachments FROM ' . POSTS_TABLE . ' WHERE topic_id = ' . (int) $topic_id . ' AND post_attachment = 1