From 86e67daaaa9f0e1f88df0f3b269eaeecc83a7f24 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sun, 15 Jun 2003 23:41:19 +0000 Subject: [PATCH] Add forum/topic_id info to redirects git-svn-id: file:///svn/phpbb/trunk@4138 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_posting.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index d7cedcf438..7e28baf2a2 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -1185,10 +1185,10 @@ function submit_post($mode, $message, $subject, $username, $topic_type, $bbcode_ user_notification($mode, stripslashes($post_data['subject']), $post_data['forum_id'], $post_data['topic_id'], $post_data['post_id']); } - meta_refresh(3, "viewtopic.$phpEx$SID&f=" . $post_data['forum_id'] . '&p=' . $post_data['post_id'] . '#' . $post_data['post_id']); + meta_refresh(3, "viewtopic.$phpEx$SID&f=" . $post_data['forum_id'] . '&t=' . $post_data['topic_id'] . '&p=' . $post_data['post_id'] . '#' . $post_data['post_id']); $message = ($auth->acl_get('f_moderate', $post_data['forum_id']) && !$auth->acl_get('f_ignorequeue', $post_data['forum_id'])) ? 'POST_STORED_MOD' : 'POST_STORED'; - $message = $user->lang[$message] . '

' . sprintf($user->lang['VIEW_MESSAGE'], '', '') . '

' . sprintf($user->lang['RETURN_FORUM'], '', ''); + $message = $user->lang[$message] . '

' . sprintf($user->lang['VIEW_MESSAGE'], '', '') . '

' . sprintf($user->lang['RETURN_FORUM'], '', ''); trigger_error($message); }