Convert to lowercase before looking up
This commit is contained in:
parent
b412226168
commit
812d25c5d5
@ -7651,7 +7651,7 @@ class FixPhrase {
|
||||
public static function decode(string $words): array {
|
||||
$indexes = [-1, -1, -1, -1];
|
||||
|
||||
$words = explode(" ", $words);
|
||||
$words = explode(" ", strtolower($words));
|
||||
|
||||
if (count($words) < 2) {
|
||||
throw new Exception("Not enough words!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user