diff options
| author | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2021-11-08 12:06:01 +0100 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2021-11-08 12:06:08 +0100 |
| commit | 04dd489ca1d93293adbabfe35d58b8bebe03c57f (patch) | |
| tree | 942a6c6fbb88ec2437d48c9be5c987506f12ef77 /lib/models/SimpleCollection.class.php | |
| parent | b71f3e8484daa6cbe5ce8abfe3f51992e2155d29 (diff) | |
replace all mb_* calls with their non multibyte version, fixes #398
Diffstat (limited to 'lib/models/SimpleCollection.class.php')
| -rw-r--r-- | lib/models/SimpleCollection.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/SimpleCollection.class.php b/lib/models/SimpleCollection.class.php index 49ebf6c..1a32491 100644 --- a/lib/models/SimpleCollection.class.php +++ b/lib/models/SimpleCollection.class.php @@ -688,7 +688,7 @@ class SimpleCollection extends StudipArrayObject $value2 = static::translitLatin1(mb_substr($d2[$field], 0, 100)); } $ret = $sort_func($value1, $value2); - if (mb_strtolower($dir) == 'desc') $ret = $ret * -1; + if (strtolower($dir) == 'desc') $ret = $ret * -1; } while ($ret === 0 && next($sorter)); return $ret; |
