Skip to content

Commit

Permalink
Replace strtolower() call to mb_strtolower() within LoopFunction
Browse files Browse the repository at this point in the history
  • Loading branch information
neveldo committed Nov 11, 2017
1 parent 471d8f1 commit 13bbad3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# ChangeLog
Change log for TextGenerator

## 1.1.1 - November 11, 2017
- Replace strtolower() call to mb_strtolower() within LoopFunction

## 1.1.0 - March 31, 2017
- Add rmna function
- Prevent filters to be called on empty values
Expand Down
2 changes: 1 addition & 1 deletion src/TextGenerator/TextFunction/LoopFunction.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function execute(array $arguments, array $originalArguments)
}

// Parse argument 2 : shuffle the items (true/false)
if (strtolower($arguments[2]) === 'true') {
if (mb_strtolower($arguments[2]) === 'true') {
shuffle($loopStrings);
}

Expand Down

0 comments on commit 13bbad3

Please sign in to comment.