Ver código fonte

$smcFunc['htmlspecialchars'] on SendTopic

Signed-off-by: Suki <[email protected]>
Suki 11 anos atrás
pai
commit
2f54f686b4
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      Sources/SendTopic.php

+ 1 - 1
Sources/SendTopic.php

@@ -407,7 +407,7 @@ function ReportToModerator2()
 
 		isBannedEmail($_POST['email'], 'cannot_post', sprintf($txt['you_are_post_banned'], $txt['guest_title']));
 
-		$user_info['email'] = htmlspecialchars($_POST['email']);
+		$user_info['email'] = $smcFunc['htmlspecialchars']($_POST['email']);
 	}
 
 	// Could they get the right verification code?