mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 18:29:39 +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);
|
$obj = $this->startResponseObject($parameters);
|
||||||
if (!empty($parameters['catName'])) {
|
if (!empty($parameters['catName'])) {
|
||||||
$row = Category::getCategoryByName($parameters['catName']);
|
$row = Category::getCategoryByName($parameters['catName']);
|
||||||
$fullTotals = self::getTotalFromCategory($row['id'], false, true, true);
|
$fullTotals = Category::getTotalFromCategory($row['id'], false, true, true);
|
||||||
$totals = self::getTotalFromCategory($row['id']);
|
$totals = Category::getTotalFromCategory($row['id']);
|
||||||
$row['total'] = $totals['total'];
|
$row['total'] = $totals['total'];
|
||||||
$row['fullTotal'] = $fullTotals['total'];
|
$row['fullTotal'] = $fullTotals['total'];
|
||||||
$row['fullTotal_videos'] = $fullTotals['videos'];
|
$row['fullTotal_videos'] = $fullTotals['videos'];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue