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/SimpleORMapCollection.class.php | |
| parent | b71f3e8484daa6cbe5ce8abfe3f51992e2155d29 (diff) | |
replace all mb_* calls with their non multibyte version, fixes #398
Diffstat (limited to 'lib/models/SimpleORMapCollection.class.php')
| -rw-r--r-- | lib/models/SimpleORMapCollection.class.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/models/SimpleORMapCollection.class.php b/lib/models/SimpleORMapCollection.class.php index 6f10f21..ee7dfbb 100644 --- a/lib/models/SimpleORMapCollection.class.php +++ b/lib/models/SimpleORMapCollection.class.php @@ -110,8 +110,8 @@ class SimpleORMapCollection extends SimpleCollection */ public function setClassName($class_name) { - $this->relation_options['class_name'] = mb_strtolower($class_name); - $this->deleted->relation_options['class_name'] = mb_strtolower($class_name); + $this->relation_options['class_name'] = strtolower($class_name); + $this->deleted->relation_options['class_name'] = strtolower($class_name); } /** @@ -131,7 +131,7 @@ class SimpleORMapCollection extends SimpleCollection */ public function getClassName() { - return mb_strtolower($this->relation_options['class_name']); + return strtolower($this->relation_options['class_name']); } /** @@ -236,4 +236,4 @@ class SimpleORMapCollection extends SimpleCollection } $this->storage = array_values($this->storage); } -}
\ No newline at end of file +} |
