mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 15:45:34 +02:00
Fix slashing problems ... occured when privmsg has an error and refreshes
git-svn-id: file:///svn/phpbb/trunk@2018 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
da08c276f9
commit
09d99238b6
@ -1153,6 +1153,10 @@ else if( $submit || $refresh || $mode != "" )
|
||||
$privmsg_subject = ( isset($HTTP_POST_VARS['subject']) ) ? trim(strip_tags(stripslashes($HTTP_POST_VARS['subject']))) : "";
|
||||
$privmsg_message = ( isset($HTTP_POST_VARS['message']) ) ? trim($HTTP_POST_VARS['message']) : "";
|
||||
$privmsg_message = preg_replace('#<textarea>#si', '<textarea>', $privmsg_message);
|
||||
if( !$preview )
|
||||
{
|
||||
$privmsg_message = stripslashes($privmsg_message);
|
||||
}
|
||||
|
||||
//
|
||||
// Do mode specific things
|
||||
|
Loading…
x
Reference in New Issue
Block a user