From 8b4293b78d55bac3fd6c12757186edaafa88044f Mon Sep 17 00:00:00 2001 From: DanieL Date: Thu, 7 Apr 2022 18:30:27 -0300 Subject: [PATCH] fixDummyfiles --- install/importChannel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/importChannel.php b/install/importChannel.php index d5b6fb4c81..1c4722b7c3 100644 --- a/install/importChannel.php +++ b/install/importChannel.php @@ -102,8 +102,8 @@ while($hasNewContent){ download($value->images->poster, $value->filename, $path); download($value->images->thumbsGif, $value->filename, $path); - foreach ($value->videos->mp4 as $value2) { - _error_log("importChannel: key = {$key} APIURL = $APIURL"); + foreach ($value->videos->mp4 as $key2=>$value2) { + _error_log("importChannel: key = {$key} key2 = {$key2} APIURL = $APIURL"); download($value2, $value->filename, $path); } $video->setStatus(Video::$statusActive);