Fix error in list sync
All checks were successful
timw4mail/HummingBirdAnimeClient/PR-14 This commit looks good

This commit is contained in:
Timothy Warren 2018-11-27 15:37:16 -05:00
parent e3d6ac20ea
commit 921febaeb4

View File

@ -264,6 +264,11 @@ final class SyncLists extends BaseCommand {
foreach ($potentialMappings as $mappingId) foreach ($potentialMappings as $mappingId)
{ {
if (\is_array($mappingId))
{
continue;
}
if (array_key_exists($mappingId, $includes['mappings'])) if (array_key_exists($mappingId, $includes['mappings']))
{ {
$malId = $includes['mappings'][$mappingId]['externalId']; $malId = $includes['mappings'][$mappingId]['externalId'];