mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-15 15:58:52 +00:00
Merge pull request #3151 from nickvergessen/ticket/13298
[ticket/13298] Add missing $db->freeresult(); calls in functions_admin.php
This commit is contained in:
commit
b84d151afa
1 changed files with 2 additions and 0 deletions
|
@ -2512,6 +2512,7 @@ function phpbb_cache_moderators($db, $cache, $auth)
|
||||||
{
|
{
|
||||||
$usernames_ary[$row['user_id']] = $row['username'];
|
$usernames_ary[$row['user_id']] = $row['username'];
|
||||||
}
|
}
|
||||||
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
foreach ($hold_ary as $user_id => $forum_id_ary)
|
foreach ($hold_ary as $user_id => $forum_id_ary)
|
||||||
{
|
{
|
||||||
|
@ -2806,6 +2807,7 @@ function view_inactive_users(&$users, &$user_count, $limit = 0, $offset = 0, $li
|
||||||
|
|
||||||
$users[] = $row;
|
$users[] = $row;
|
||||||
}
|
}
|
||||||
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
return $offset;
|
return $offset;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue