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