aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorDominik Dröscher <dhn2@users.sourceforge.net>2006-10-26 11:27:57 +0000
committerDominik Dröscher <dhn2@users.sourceforge.net>2006-10-26 11:27:57 +0000
commit6f4d0c4fa2f6e89a4d5cd83fb615706eb30892e9 (patch)
tree9cded3f21106d1453e46d39f6da0422c2b41362e /phpBB/includes
parentcd3eaf0e178a5b1cc9e45f8df2d1648e63a965c2 (diff)
downloadforums-6f4d0c4fa2f6e89a4d5cd83fb615706eb30892e9.tar
forums-6f4d0c4fa2f6e89a4d5cd83fb615706eb30892e9.tar.gz
forums-6f4d0c4fa2f6e89a4d5cd83fb615706eb30892e9.tar.bz2
forums-6f4d0c4fa2f6e89a4d5cd83fb615706eb30892e9.tar.xz
forums-6f4d0c4fa2f6e89a4d5cd83fb615706eb30892e9.zip
#4696
Quoting from topic review should now work in FF 1.5.0.x. Note to Nils: We need a utf8_addslashes function. The standard addslashes will not cut it for UTF-8. :) git-svn-id: file:///svn/phpbb/trunk@6528 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions_posting.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index fccad678a9..86e60a72e6 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -934,11 +934,10 @@ function topic_review($topic_id, $forum_id, $mode = 'topic_review', $cur_post_id
'POST_DATE' => $user->format_date($row['post_time']),
'MESSAGE' => $message,
'DECODED_MESSAGE' => $decoded_message,
-
'U_POST_ID' => $row['post_id'],
'U_MINI_POST' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'p=' . $row['post_id']) . '#p' . $row['post_id'],
'U_MCP_DETAILS' => ($auth->acl_get('m_info', $forum_id)) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=main&amp;mode=post_details&amp;f=' . $forum_id . '&amp;p=' . $row['post_id'], true, $user->session_id) : '',
- 'U_QUOTE' => ($show_quote_button && $auth->acl_get('f_reply', $forum_id)) ? 'javascript:addquote(' . $row['post_id'] . ", '" . addslashes($poster) . "')" : '')
+ 'POSTER_QUOTE' => ($show_quote_button && $auth->acl_get('f_reply', $forum_id)) ? addslashes($poster) : '')
);
unset($rowset[$i]);
}