mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Add option to hide categories with negative order in getAllCategories method
This commit is contained in:
parent
2bde902595
commit
fe8348b1f4
2 changed files with 6 additions and 3 deletions
|
@ -582,7 +582,7 @@ $tToleranceSide = 0.2;
|
|||
}
|
||||
|
||||
TimeLogEnd($tnameSide, __LINE__, $tToleranceSide);
|
||||
$categories = Category::getAllCategories(false, true, $advancedCustom->CategoryShowOnlySuggested, $sameUserGroupAsMe);
|
||||
$categories = Category::getAllCategories(false, true, $advancedCustom->CategoryShowOnlySuggested, $sameUserGroupAsMe, true);
|
||||
TimeLogEnd($tnameSide, __LINE__, $tToleranceSide);
|
||||
echo "<!-- categories found " . count($categories) . " -->";
|
||||
foreach ($categories as $value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue