mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
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
This commit is contained in:
@@ -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'])
|
||||
|
Reference in New Issue
Block a user