1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/13569] Add missing sql_freeresults and remove unneeded results

PHPBB3-13569
This commit is contained in:
Marc Alexander
2015-02-02 17:28:07 +01:00
parent 9f59aa59d9
commit a166f6f42c
6 changed files with 7 additions and 2 deletions

View File

@@ -1276,6 +1276,7 @@ function mcp_fork_topic($topic_ids)
$db->sql_query('INSERT INTO ' . POLL_OPTIONS_TABLE . ' ' . $db->sql_build_array('INSERT', $sql_ary));
}
$db->sql_freeresult($result);
}
$sql = 'SELECT *