1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00
This commit is contained in:
daniel 2019-05-15 14:22:52 -03:00
parent a3301cb29f
commit 61c218ab88

View file

@ -158,7 +158,10 @@ class API extends PluginAbstract {
$totalRows = Video::getTotalVideos();
}
$SubtitleSwitcher = YouPHPTubePlugin::loadPluginIfEnabled("SubtitleSwitcher");
foreach ($rows as $key=>$value) {
foreach ($rows as $key=>$value) {
if(is_object($value)){
$value = object_to_array($value);
}
if(empty($value['filename'])){
continue;
}