From 812d25c5d5afbb5ce7ba9e21044ec1bfa3b5fbdb Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Wed, 20 Oct 2021 00:26:52 -0600 Subject: [PATCH] Convert to lowercase before looking up --- FixPhrase.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FixPhrase.lib.php b/FixPhrase.lib.php index 65123ad..15e887b 100644 --- a/FixPhrase.lib.php +++ b/FixPhrase.lib.php @@ -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!");