fix for german umlaute

This commit is contained in:
o.pinke 2024-03-11 15:33:21 +01:00
parent ea2fbc499a
commit a34f26177e

View file

@ -86,7 +86,7 @@ function is_alphanumeric($test, $umlauts = true)
{
if ($umlauts == true) {
$match = "/^[a-z0-9<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ]+$/i";
$match = "/^[a-z0-9ÄäÖöÜüß ]+$/i";
} else {
$match = "/^[a-z0-9 ]+$/i";
}