Convert to lowercase before looking up

This commit is contained in:
Skylar Ittner 2021-10-20 00:26:52 -06:00
parent b412226168
commit 812d25c5d5

View File

@ -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!");