aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/admin_users.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2004-02-15 14:03:19 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2004-02-15 14:03:19 +0000
commitb745d5224f44e447fc5ed06d1804e10b58e7afd2 (patch)
treea8035fb95226c4546fe04e5e2f734b030ae1db04 /phpBB/adm/admin_users.php
parentd8609ba1c60803912c0b9de9c887290d7f6c5f90 (diff)
downloadforums-b745d5224f44e447fc5ed06d1804e10b58e7afd2.tar
forums-b745d5224f44e447fc5ed06d1804e10b58e7afd2.tar.gz
forums-b745d5224f44e447fc5ed06d1804e10b58e7afd2.tar.bz2
forums-b745d5224f44e447fc5ed06d1804e10b58e7afd2.tar.xz
forums-b745d5224f44e447fc5ed06d1804e10b58e7afd2.zip
removed message type from message parser
assign message if specified parse/decode html if enabled validate url git-svn-id: file:///svn/phpbb/trunk@4834 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/adm/admin_users.php')
-rw-r--r--phpBB/adm/admin_users.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/phpBB/adm/admin_users.php b/phpBB/adm/admin_users.php
index 506c8452fd..4dac8f1673 100644
--- a/phpBB/adm/admin_users.php
+++ b/phpBB/adm/admin_users.php
@@ -833,9 +833,7 @@ if ($submit || $preview || $deleteall || $deletemark)
{
include($phpbb_root_path . 'includes/message_parser.'.$phpEx);
- $message_parser = new parse_message();
-
- $message_parser->message = $signature;
+ $message_parser = new parse_message($signature);
$message_parser->parse($enable_html, $enable_bbcode, $enable_urls, $enable_smilies);
$sql_ary = array(
@@ -1545,8 +1543,7 @@ function marklist(match, status)
// Fudge-o-rama ...
include($phpbb_root_path . 'includes/message_parser.'.$phpEx);
- $message_parser = new parse_message();
- $message_parser->message = $signature_preview;
+ $message_parser = new parse_message($signature_preview);
$message_parser->parse($enable_html, $enable_bbcode, $enable_urls, $enable_smilies);
$signature_preview = $message_parser->message;