1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/12038] Free query results.

PHPBB3-12038
This commit is contained in:
Cesar G
2013-12-30 11:08:02 -08:00
parent 3ccc8add10
commit 06262aca54
2 changed files with 2 additions and 0 deletions

View File

@@ -363,6 +363,7 @@ class acp_permission_roles
WHERE role_id = $role_id";
$result = $db->sql_query($sql);
$order = $db->sql_fetchfield('role_order');
$db->sql_freeresult($result);
if ($order === false || ($order == 0 && $action == 'move_up'))
{