diff options
author | Marc Alexander <admin@m-a-styles.de> | 2014-11-18 13:11:55 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2014-11-18 13:11:55 +0100 |
commit | b84d151afa0a382396827a74bc8e8b706e5f5fd5 (patch) | |
tree | 0caeea8087282ffe8c52586b153b2856b9c37fba /phpBB/includes/functions_admin.php | |
parent | 17d76de7b87d71af1882c6afe46e83d4ea7eb386 (diff) | |
parent | 31c59cad830743127de5f5ed43ed2011f834398e (diff) | |
download | forums-b84d151afa0a382396827a74bc8e8b706e5f5fd5.tar forums-b84d151afa0a382396827a74bc8e8b706e5f5fd5.tar.gz forums-b84d151afa0a382396827a74bc8e8b706e5f5fd5.tar.bz2 forums-b84d151afa0a382396827a74bc8e8b706e5f5fd5.tar.xz forums-b84d151afa0a382396827a74bc8e8b706e5f5fd5.zip |
Merge pull request #3151 from nickvergessen/ticket/13298
[ticket/13298] Add missing $db->freeresult(); calls in functions_admin.php
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r-- | phpBB/includes/functions_admin.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index e3e8657afb..5ddaf31cf5 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -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; } |