Browse Source

$smcFunc['htmlspecialchars'] on SendTopic

Signed-off-by: Suki <[email protected]>
Suki 11 years ago
parent
commit
2f54f686b4
1 changed files with 1 additions and 1 deletions
  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?