mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 10:19:24 +02:00
Update
This commit is contained in:
parent
0e02a7faf8
commit
cc4df9f00a
1 changed files with 2 additions and 2 deletions
|
@ -224,8 +224,8 @@ class API extends PluginAbstract {
|
|||
$obj = $this->startResponseObject($parameters);
|
||||
if (!empty($parameters['catName'])) {
|
||||
$row = Category::getCategoryByName($parameters['catName']);
|
||||
$fullTotals = self::getTotalFromCategory($row['id'], false, true, true);
|
||||
$totals = self::getTotalFromCategory($row['id']);
|
||||
$fullTotals = Category::getTotalFromCategory($row['id'], false, true, true);
|
||||
$totals = Category::getTotalFromCategory($row['id']);
|
||||
$row['total'] = $totals['total'];
|
||||
$row['fullTotal'] = $fullTotals['total'];
|
||||
$row['fullTotal_videos'] = $fullTotals['videos'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue