Your Shop creates, verify user
This commit is contained in:
parent
b1e0b54eae
commit
7f6f07a778
72 changed files with 3463 additions and 1311 deletions
|
|
@ -206,6 +206,9 @@ class Slim {
|
|||
$str = preg_replace('([^\w\s\d\-_~,;\[\]\(\).])', '', $str);
|
||||
// Remove any runs of periods
|
||||
$str = preg_replace('([\.]{2,})', '', $str);
|
||||
|
||||
$str = (strlen($str) > 33) ? substr($str,-33) : $str;
|
||||
|
||||
return $str;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue