mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-18 17:28:56 +00:00
[ticket/12174] Remove inline assignment
PHPBB3-12174
This commit is contained in:
parent
f755f69606
commit
a80ad5d00f
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue