Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
1 changed files with 1 additions and 1 deletions
Showing only changes of commit e6cfe2b6e9 - Show all commits

View File

@ -219,7 +219,7 @@ class Kitsu {
foreach($existingTitles as $existing)
{
$isSubset = mb_stripos($existing, $title) !== FALSE;
$isSubset = mb_substr_count($existing, $title) > 0;
$diff = levenshtein($existing, $title);
$onlydifferentCase = (mb_strtolower($existing) === mb_strtolower($title));