aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/content_visibility.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-05-10 23:50:42 +0200
committerTristan Darricau <github@nicofuma.fr>2014-05-10 23:50:42 +0200
commitca5987ceb863d557bd3509e164f9fe982aecb00d (patch)
tree21c25bda4400b07a0ea9215bad659efa945d94fd /phpBB/phpbb/content_visibility.php
parent27cb84d3d483ecac19ba51be17d97306ae436ba8 (diff)
downloadforums-ca5987ceb863d557bd3509e164f9fe982aecb00d.tar
forums-ca5987ceb863d557bd3509e164f9fe982aecb00d.tar.gz
forums-ca5987ceb863d557bd3509e164f9fe982aecb00d.tar.bz2
forums-ca5987ceb863d557bd3509e164f9fe982aecb00d.tar.xz
forums-ca5987ceb863d557bd3509e164f9fe982aecb00d.zip
[ticket/12174] Coding style
PHPBB3-12174
Diffstat (limited to 'phpBB/phpbb/content_visibility.php')
-rw-r--r--phpBB/phpbb/content_visibility.php2
1 files changed, 1 insertions, 1 deletions
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