Merge rPF29527b4c880f: T357: Removed + symbols from the classifier's fulltext query.

This commit is contained in:
Kelvin Zhang 2015-09-10 12:47:05 +01:00
parent cd12f58992
commit 843eb4351a

View file

@ -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'])