diff options
Diffstat (limited to 'phpBB/memberlist.php')
-rw-r--r-- | phpBB/memberlist.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php index e28e18beba..35c218cd8c 100644 --- a/phpBB/memberlist.php +++ b/phpBB/memberlist.php @@ -656,8 +656,8 @@ switch ($mode) $result = $db->sql_query($sql); $row = $db->sql_fetchrow($result); - $foe = $row['foe'] ?? false; - $friend = $row['friend'] ?? false; + $foe = (bool) $row['foe'] ?? false; + $friend = (bool) $row['friend'] ?? false; $db->sql_freeresult($result); if ($config['load_onlinetrack']) |