mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 19:19:19 +02:00
fix: replace mb_strlen/mb_substr with strlen/substr — mbstring not available on prod
This commit is contained in:
@@ -211,7 +211,7 @@ class SearchController
|
||||
$out = [];
|
||||
foreach ($raw as $v) {
|
||||
$v = trim((string)$v);
|
||||
if ($v !== '' && mb_strlen($v) <= $maxLen) {
|
||||
if ($v !== '' && strlen($v) <= $maxLen) {
|
||||
$out[] = $v;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user