|
@@ -262,7 +262,7 @@ function adminLogin_outputPostVars($k, $v)
|
|
|
|
|
|
if (!is_array($v))
|
|
|
return '
|
|
|
-<input type="hidden" name="' . htmlspecialchars($k) . '" value="' . strtr($v, array('"' => '"', '<' => '<', '>' => '>')) . '" />';
|
|
|
+<input type="hidden" name="' . $smcFunc['htmlspecialchars']($k) . '" value="' . strtr($v, array('"' => '"', '<' => '<', '>' => '>')) . '" />';
|
|
|
else
|
|
|
{
|
|
|
$ret = '';
|
|
@@ -621,7 +621,7 @@ function validateUsername($memID, $username, $return_error = false, $check_reser
|
|
|
{
|
|
|
require_once($sourcedir . '/Subs-Members.php');
|
|
|
if (isReservedName($username, $memID, false))
|
|
|
- $errors[] = array('done', '(' . htmlspecialchars($username) . ') ' . $txt['name_in_use']);
|
|
|
+ $errors[] = array('done', '(' . $smcFunc['htmlspecialchars']($username) . ') ' . $txt['name_in_use']);
|
|
|
}
|
|
|
|
|
|
if ($return_error)
|