mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 08:17:47 +02:00
Should help reducing the number of SQL processes not dying.
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@2961 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -84,12 +84,14 @@ if ( isset($HTTP_GET_VARS['view']) && empty($HTTP_GET_VARS[POST_POST_URL]) )
|
||||
message_die(GENERAL_MESSAGE, 'No_new_posts_last_visit');
|
||||
}
|
||||
|
||||
$db->sql_close();
|
||||
$post_id = $row['post_id'];
|
||||
header($header_location . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=$post_id#$post_id", true));
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
$db->sql_close();
|
||||
header($header_location . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id", true));
|
||||
exit;
|
||||
}
|
||||
|
Reference in New Issue
Block a user