1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-27 11:04:15 +02:00

[ticket/13298] Add missing $db->freeresult(); calls in functions_admin.php

PHPBB3-13298
This commit is contained in:
Joas Schilling 2014-11-17 23:56:33 +01:00
parent 4f96688bf7
commit 31c59cad83

View File

@ -2512,6 +2512,7 @@ function phpbb_cache_moderators($db, $cache, $auth)
{
$usernames_ary[$row['user_id']] = $row['username'];
}
$db->sql_freeresult($result);
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;
}
$db->sql_freeresult($result);
return $offset;
}