1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/13713] Fix base classes for sources

PHPBB3-13713
This commit is contained in:
lavigor
2018-08-02 22:09:09 +03:00
committed by Marc Alexander
parent 07130bf077
commit c6789ad294
2 changed files with 1 additions and 3 deletions

View File

@@ -149,7 +149,7 @@ abstract class base_group implements source_interface
'type' => 'group',
'img' => phpbb_get_group_avatar($groups[$group_id]),
],
'rank' => $group_rank['title'],
'rank' => (isset($group_rank['title'])) ? $group_rank['title'] : '',
'priority' => $this->get_priority($groups[$group_id]),
]);
}

View File

@@ -120,7 +120,5 @@ abstract class base_user implements source_interface
'priority' => $this->get_priority($user),
]);
}
$this->db->sql_freeresult($result);
}
}