Browse Source

$smcFunc['htmlspecialchars'] on Subs-Members

Signed-off-by: Suki <[email protected]>
Suki 11 years ago
parent
commit
d1f4a104b0
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Sources/Subs-Members.php

+ 2 - 1
Sources/Subs-Members.php

@@ -538,7 +538,8 @@ function registerMember(&$regOptions, $return_errors = false)
 	);
 	// @todo Separate the sprintf?
 	if ($smcFunc['db_num_rows']($request) != 0)
-		$reg_errors[] = array('lang', 'email_in_use', false, array(htmlspecialchars($regOptions['email'])));
+		$reg_errors[] = array('lang', 'email_in_use', false, array($smcFunc['htmlspecialchars']($regOptions['email'])));
+
 	$smcFunc['db_free_result']($request);
 
 	// Perhaps someone else wants to check this user