From b846475f4f3f64ebbc0d1c310618bb1b1b8aef3d Mon Sep 17 00:00:00 2001 From: Kelvin Zhang Date: Thu, 10 Sep 2015 12:50:44 +0100 Subject: [PATCH] Merge rPF46ceab2b4ce0: T357: Remove tildes from the classifier's fulltext matcher. --- app/Console/Commands/ClassifyMLPMA.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/ClassifyMLPMA.php b/app/Console/Commands/ClassifyMLPMA.php index 466d1260..9d263e0c 100644 --- a/app/Console/Commands/ClassifyMLPMA.php +++ b/app/Console/Commands/ClassifyMLPMA.php @@ -75,7 +75,7 @@ class ClassifyMLPMA extends Command // Original, show song remix, fan song remix, show audio remix, or ponified song? //========================================================================================================== $sanitizedTrackTitle = $parsedTags['title']; - $sanitizedTrackTitle = str_replace(['-', '+', 'ft.', '*'], ' ', $sanitizedTrackTitle); + $sanitizedTrackTitle = str_replace(['-', '+', '~', 'ft.', '*'], ' ', $sanitizedTrackTitle); $queriedTitle = DB::connection()->getPdo()->quote($sanitizedTrackTitle); $officialSongs = ShowSong::select(['id', 'title'])