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:
Ludovic Arnaud 2002-10-21 04:49:04 +00:00
parent c28993a5cf
commit 437c6e7d48

View file

@ -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;
}