aboutsummaryrefslogtreecommitdiffstats
path: root/core/include/category
diff options
context:
space:
mode:
Diffstat (limited to 'core/include/category')
-rw-r--r--core/include/category/main.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/include/category/main.php b/core/include/category/main.php
index b1bea72..2e84aa1 100644
--- a/core/include/category/main.php
+++ b/core/include/category/main.php
@@ -90,7 +90,8 @@ if($currentSite < 1 OR ($currentSite > $lastSite AND $lastSite > 0)) {
$posts = $PostRepository->getAll(
['category' => $Category->getID()],
$site_sort,
- ($currentSite-1) * $site_size.','.$site_size
+ $site_size,
+ ($currentSite-1) * $site_size
);
foreach($posts as $Post) {