mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
Fix
This commit is contained in:
parent
9bd2fe59aa
commit
31c583da44
1 changed files with 2 additions and 1 deletions
|
@ -349,7 +349,8 @@ class API extends PluginAbstract {
|
|||
$status = "";
|
||||
$ignoreGroup = true;
|
||||
}
|
||||
$rows = [Video::getVideo($parameters['videos_id'], $status, $ignoreGroup)];
|
||||
// getVideo($id = "", $status = "viewable", $ignoreGroup = false, $random = false, $suggestedOnly = false, $showUnlisted = false, $ignoreTags = false, $activeUsersOnly = true)
|
||||
$rows = [Video::getVideo($parameters['videos_id'], $status, $ignoreGroup, false, false, true)];
|
||||
$totalRows = empty($rows) ? 0 : 1;
|
||||
} elseif (self::isAPISecretValid()) {
|
||||
$rows = Video::getAllVideos("viewable", false, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue