mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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:
parent
c28993a5cf
commit
437c6e7d48
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue