Skip to content

Commit 13bbad3

Browse files
author
neveldo
committed
Replace strtolower() call to mb_strtolower() within LoopFunction
1 parent 471d8f1 commit 13bbad3

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# ChangeLog
22
Change log for TextGenerator
33

4+
## 1.1.1 - November 11, 2017
5+
- Replace strtolower() call to mb_strtolower() within LoopFunction
6+
47
## 1.1.0 - March 31, 2017
58
- Add rmna function
69
- Prevent filters to be called on empty values

src/TextGenerator/TextFunction/LoopFunction.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function execute(array $arguments, array $originalArguments)
7777
}
7878

7979
// Parse argument 2 : shuffle the items (true/false)
80-
if (strtolower($arguments[2]) === 'true') {
80+
if (mb_strtolower($arguments[2]) === 'true') {
8181
shuffle($loopStrings);
8282
}
8383

0 commit comments

Comments
 (0)