mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/16273] Check whether the index exists in memberlist - PHP 7.4
PHPBB3-16273
This commit is contained in:
parent
72747ed686
commit
d191eed760
1 changed files with 3 additions and 3 deletions
|
@ -656,8 +656,8 @@ switch ($mode)
|
|||
|
||||
$result = $db->sql_query($sql);
|
||||
$row = $db->sql_fetchrow($result);
|
||||
$foe = ($row['foe']) ? true : false;
|
||||
$friend = ($row['friend']) ? true : false;
|
||||
$foe = $row['foe'] ?? false;
|
||||
$friend = $row['friend'] ?? false;
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
if ($config['load_onlinetrack'])
|
||||
|
|
Loading…
Add table
Reference in a new issue