1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-07 08:05:25 +02:00

more user friendly (this fulfills request #695587 in conjunction with the previously added topic link to the notification templates)

git-svn-id: file:///svn/phpbb/trunk@4679 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2003-11-22 17:57:06 +00:00
parent 755c0d845c
commit fe57f5340c

View File

@ -173,6 +173,11 @@ $result = $db->sql_query($sql);
if (!($topic_data = $db->sql_fetchrow($result)))
{
// If post_id was submitted, we try at least to display the topic as a last resort...
if ($post_id && $forum_id && $topic_id)
{
redirect("viewtopic.$phpEx$SID&f=$forum_id&t=$topic_id");
}
trigger_error('NO_TOPIC');
}