aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2015-10-11 15:33:53 -0700
committerCesar G <prototech91@gmail.com>2015-10-11 15:46:43 -0700
commit0a93db705bf8f8759db9e8a55e24804161732c65 (patch)
tree1c522f4cd67783779d41d28fb94e8b0562c409c9 /phpBB/includes/acp
parent87b9cede4bb11fd501d89146bfd13c2e9623924f (diff)
downloadforums-0a93db705bf8f8759db9e8a55e24804161732c65.tar
forums-0a93db705bf8f8759db9e8a55e24804161732c65.tar.gz
forums-0a93db705bf8f8759db9e8a55e24804161732c65.tar.bz2
forums-0a93db705bf8f8759db9e8a55e24804161732c65.tar.xz
forums-0a93db705bf8f8759db9e8a55e24804161732c65.zip
[ticket/13993] Do not parse signatures as posts when editing them.
The implementation of PHPBB3-12516 changed the manual use of the message parser to using generate_text_for_storage(). The function does not support parse_message::parse()'s mode parameter, thus all the error checks on the sig are invalid. PHPBB3-13993
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r--phpBB/includes/acp/acp_users.php15
1 files changed, 14 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_users.php b/phpBB/includes/acp/acp_users.php
index 857c625867..c21a9f94d1 100644
--- a/phpBB/includes/acp/acp_users.php
+++ b/phpBB/includes/acp/acp_users.php
@@ -2007,7 +2007,20 @@ class acp_users
}
$bbcode_uid = $bbcode_bitfield = $bbcode_flags = '';
- $warn_msg = generate_text_for_storage($signature, $bbcode_uid, $bbcode_bitfield, $bbcode_flags, $enable_bbcode, $enable_urls, $enable_smilies);
+ $warn_msg = generate_text_for_storage(
+ $signature,
+ $bbcode_uid,
+ $bbcode_bitfield,
+ $bbcode_flags,
+ $enable_bbcode,
+ $enable_urls,
+ $enable_smilies,
+ $config['allow_sig_img'],
+ $config['allow_sig_flash'],
+ true,
+ $config['allow_sig_links'],
+ 'sig'
+ );
if (sizeof($warn_msg))
{