aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/mcp.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-06-13 19:44:40 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-06-13 19:44:40 +0000
commiteeba8f456003cdcbdd4a6573b6a3b25250bbccef (patch)
treec2cf819ff1c67fbc1b68114d8278767f8cefe0c2 /phpBB/mcp.php
parent677e6451c45c2362893f49acf2d5390c0f5dd192 (diff)
downloadforums-eeba8f456003cdcbdd4a6573b6a3b25250bbccef.tar
forums-eeba8f456003cdcbdd4a6573b6a3b25250bbccef.tar.gz
forums-eeba8f456003cdcbdd4a6573b6a3b25250bbccef.tar.bz2
forums-eeba8f456003cdcbdd4a6573b6a3b25250bbccef.tar.xz
forums-eeba8f456003cdcbdd4a6573b6a3b25250bbccef.zip
Fix some instances where we left db connections open (registration -> captcha for example)
git-svn-id: file:///svn/phpbb/trunk@8656 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/mcp.php')
-rw-r--r--phpBB/mcp.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php
index bedfcbf1ea..7e2d4feb7c 100644
--- a/phpBB/mcp.php
+++ b/phpBB/mcp.php
@@ -166,7 +166,7 @@ if ($quickmod)
case 'delete_post':
case 'delete_topic':
$module->load('mcp', 'main', 'quickmod');
- exit_handler();
+ exit;
break;
case 'topic_logs':
@@ -390,7 +390,7 @@ function get_topic_data($topic_ids, $acl_list = false, $read_tracking = false)
$sql = $db->sql_build_query('SELECT', $sql_array);
$result = $db->sql_query($sql);
-
+
while ($row = $db->sql_fetchrow($result))
{
if (!$row['forum_id'])