mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
This commit is contained in:
parent
a3301cb29f
commit
61c218ab88
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue