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:07:39 +0100 |
| commit | 5df0ce89a2abbf06e6ffb2eb0336326bdcb0768f (patch) | |
| tree | 25b948342e6c664e7f4980696bc68c91429a687f /lib/models/SimpleORMapCollection.class.php | |
| parent | 1a4cdb4178b022682aef22b6072ef0eb5fb16a9b (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 +} |
