mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 22:40:39 +02:00
Fix stripslashing on errors, preview, poll option addition ... this one actually works properly ...
git-svn-id: file:///svn/phpbb/trunk@1509 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -2716,7 +2716,7 @@ switch($mode)
|
||||
// If post_message is not empty (as per a preview or error )
|
||||
// then stripslashes
|
||||
//
|
||||
if( !empty($post_message) && $mode != "edit" && $mode != "reply" )
|
||||
if( !empty($post_message) && $mode != "editpost" && $mode != "reply" )
|
||||
{
|
||||
$post_message = stripslashes(preg_replace($html_entities_match, $html_entities_replace, $post_message));
|
||||
}
|
||||
|
Reference in New Issue
Block a user