aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-05-09 00:31:53 +0200
committerTristan Darricau <github@nicofuma.fr>2014-05-09 00:31:53 +0200
commita80ad5d00f66d5195cdfe1c953079b54d27063dc (patch)
treef78b27b0787f14c713e1f8e279e3e65c35b3983f /phpBB/phpbb
parentf755f696069c48e40cba8163b04ea8537354283f (diff)
downloadforums-a80ad5d00f66d5195cdfe1c953079b54d27063dc.tar
forums-a80ad5d00f66d5195cdfe1c953079b54d27063dc.tar.gz
forums-a80ad5d00f66d5195cdfe1c953079b54d27063dc.tar.bz2
forums-a80ad5d00f66d5195cdfe1c953079b54d27063dc.tar.xz
forums-a80ad5d00f66d5195cdfe1c953079b54d27063dc.zip
[ticket/12174] Remove inline assignment
PHPBB3-12174
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/content_visibility.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/phpbb/content_visibility.php b/phpBB/phpbb/content_visibility.php
index 7cb7bd6922..f532d7e61e 100644
--- a/phpBB/phpbb/content_visibility.php
+++ b/phpBB/phpbb/content_visibility.php
@@ -448,7 +448,8 @@ class content_visibility
AND ' . $this->db->sql_in_set('post_id', $post_id, true);
$result = $this->db->sql_query_limit($sql, 1);
- if ($row = $this->db->sql_fetchrow($result))
+ $row = $this->db->sql_fetchrow($result);
+ if ($row != false)
{
if ($visibility == ITEM_APPROVED)
{