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

View file

@ -159,6 +159,9 @@ class API extends PluginAbstract {
}
$SubtitleSwitcher = YouPHPTubePlugin::loadPluginIfEnabled("SubtitleSwitcher");
foreach ($rows as $key=>$value) {
if(is_object($value)){
$value = object_to_array($value);
}
if(empty($value['filename'])){
continue;
}