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

This commit is contained in:
Peter Deltchev 2015-09-07 18:31:58 -07:00
parent 4b5547b10c
commit 29527b4c88

View file

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