mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Update category retrieval to respect suggested categories setting
This commit is contained in:
parent
1838c72c8f
commit
fbbf3bc3ab
2 changed files with 49 additions and 48 deletions
|
@ -582,7 +582,7 @@ $tToleranceSide = 0.2;
|
|||
}
|
||||
|
||||
TimeLogEnd($tnameSide, __LINE__, $tToleranceSide);
|
||||
$categories = Category::getAllCategories(false, true, false, $sameUserGroupAsMe);
|
||||
$categories = Category::getAllCategories(false, true, $advancedCustom->CategoryShowOnlySuggested, $sameUserGroupAsMe);
|
||||
TimeLogEnd($tnameSide, __LINE__, $tToleranceSide);
|
||||
echo "<!-- categories found " . count($categories) . " -->";
|
||||
foreach ($categories as $value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue