Update foreach loops

This commit is contained in:
DariusIII
2022-04-19 22:25:30 +02:00
parent 954a39e913
commit 363d72bc2b
14 changed files with 37 additions and 62 deletions
+1 -1
View File
@@ -271,7 +271,7 @@ class TMDB extends TV
return false;
}
if ($showAlternativeTitles !== null && \is_array($showAlternativeTitles)) {
if (\is_array($showAlternativeTitles)) {
foreach ($showAlternativeTitles['results'] as $aka) {
$highest['alternative_titles'][] = $aka['title'];
}