mirror of
https://github.com/processwire/processwire.git
synced 2025-08-13 18:24:57 +02:00
Minor adjustments, mostly phpdoc related
This commit is contained in:
@@ -116,8 +116,10 @@ class Sanitizer extends Wire {
|
||||
}
|
||||
}
|
||||
|
||||
$v = iconv("UTF-8", "ASCII//TRANSLIT//IGNORE", $value);
|
||||
if($v) $value = $v;
|
||||
if(function_exists("\\iconv")) {
|
||||
$v = iconv("UTF-8", "ASCII//TRANSLIT//IGNORE", $value);
|
||||
if($v) $value = $v;
|
||||
}
|
||||
$needsWork = strlen(str_replace($allowed, '', $value));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user