Skip to content

Commit

Permalink
Bug fix after general cleanup of string utilities.
Browse files Browse the repository at this point in the history
See: #440
  • Loading branch information
jaswsinc committed Jan 8, 2015
1 parent 3894dd3 commit 7e1ba74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s2member/includes/classes/utils-strings.inc.php
Expand Up @@ -180,7 +180,7 @@ public static function esc_refs($string = NULL, $times = NULL)
*/
public static function strip_2_kb_chars($string = '')
{
return preg_replace('/[^0-9A-Z\r\n\t\s`\=\[\]\\\;\',\.\/~\!@#\$%\^&\*\(\)_\+\|\}\{\:"\?\>\<\-]/i', '', remove_accents((string)$string));
return preg_replace('/[^0-9A-Z'."\r\n\t".'\s`\=\[\]\\\;\',\.\/~\!@#\$%\^&\*\(\)_\+\|\}\{\:"\?\>\<\-]/i', '', remove_accents((string)$string));
}

/**
Expand Down

0 comments on commit 7e1ba74

Please sign in to comment.