@@ -54,7 +54,7 @@ if ($categoryId && isset($allCategories[$categoryId])) {
diff --git a/categories.php b/categories.php index b07a2b9..c546858 100644 --- a/categories.php +++ b/categories.php @@ -12,7 +12,7 @@ $allCategories = PEERTUBE_CATEGORIES; if ($categoryId && isset($allCategories[$categoryId])) { // Récupérer le nom de la catégorie $categoryName = $allCategories[$categoryId]; - + // Récupérer les vidéos de cette catégorie via l'API PeerTube $videos = getVideosByCategory($categoryId, CATEGORY_VIDEOS_COUNT); // Récupérer le nombre défini dans la config } else { @@ -30,7 +30,7 @@ if ($categoryId && isset($allCategories[$categoryId])) {