Skip to content

Commit

Permalink
https://github.com/WWBN/AVideo/issues/5678#issuecomment-918499631
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel committed Sep 14, 2021
1 parent 3c53490 commit 6373f3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/Gallery/view/mainAreaCategory.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</div>
</div>
<?php
$total = Video::getTotalVideos("viewable");
$total = Video::getTotalVideos("viewableNotUnlisted", false, !$obj->hidePrivateVideos);
$totalPages = ceil($total / getRowCount());
$page = getCurrentPage();
if ($totalPages < $page) {
Expand Down

0 comments on commit 6373f3d

Please sign in to comment.