aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2003-05-18 11:12:04 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2003-05-18 11:12:04 +0000
commit178572a5d0609d2b3995c7487d3add95414bab51 (patch)
tree20f1ed2d601b82f5a9dfb29aa500d6c037875684 /phpBB/posting.php
parent33b0446650cb38e462bf12005637dfc980e4458b (diff)
downloadforums-178572a5d0609d2b3995c7487d3add95414bab51.tar
forums-178572a5d0609d2b3995c7487d3add95414bab51.tar.gz
forums-178572a5d0609d2b3995c7487d3add95414bab51.tar.bz2
forums-178572a5d0609d2b3995c7487d3add95414bab51.tar.xz
forums-178572a5d0609d2b3995c7487d3add95414bab51.zip
#642733
git-svn-id: file:///svn/phpbb/trunk@4011 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index cd041fc62c..2f40ca83d0 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -40,6 +40,7 @@ include($phpbb_root_path . 'includes/message_parser.'.$phpEx);
// Start session management
$user->start();
$auth->acl($user->data);
+$user->setup();
// Grab only parameters needed here
$mode = (!empty($_REQUEST['mode'])) ? strval($_REQUEST['mode']) : '';
@@ -1148,8 +1149,6 @@ function topic_review($topic_id, $is_inline_review = false)
global $user, $auth, $db, $template, $bbcode;
global $censors, $config, $phpbb_root_path, $phpEx, $SID;
- $user->setup();
-
// Define censored word matches
if (empty($censors))
{
@@ -1235,6 +1234,7 @@ function topic_review($topic_id, $is_inline_review = false)
'POSTER_NAME' => $poster,
'POST_DATE' => $user->format_date($row['post_time']),
'POST_SUBJECT' => $post_subject,
+ 'POST_ID' => $row['post_id'],
'MESSAGE' => nl2br($message),
'S_ROW_COUNT' => $i++)