aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_main.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2015-02-03 17:38:02 +0100
committerAndreas Fischer <bantu@phpbb.com>2015-02-03 17:38:02 +0100
commit63d863a883e946d881bac30bf409c26c1aa4340c (patch)
tree2dd0123183c2cecccf2088c87c2fbf745c5c83e5 /phpBB/includes/mcp/mcp_main.php
parentceaba8aaf94583b437f08f6d004d031b9a9ad345 (diff)
parent2864e77d6c480f8424de962dd0570185c049a9af (diff)
downloadforums-63d863a883e946d881bac30bf409c26c1aa4340c.tar
forums-63d863a883e946d881bac30bf409c26c1aa4340c.tar.gz
forums-63d863a883e946d881bac30bf409c26c1aa4340c.tar.bz2
forums-63d863a883e946d881bac30bf409c26c1aa4340c.tar.xz
forums-63d863a883e946d881bac30bf409c26c1aa4340c.zip
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/13569] Add missing sql_freeresults and remove unneeded results
Diffstat (limited to 'phpBB/includes/mcp/mcp_main.php')
-rw-r--r--phpBB/includes/mcp/mcp_main.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/mcp/mcp_main.php b/phpBB/includes/mcp/mcp_main.php
index c084f5af52..8403c3588e 100644
--- a/phpBB/includes/mcp/mcp_main.php
+++ b/phpBB/includes/mcp/mcp_main.php
@@ -1320,6 +1320,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 *