From a4242144eebc101bc1e5ec150a80312e30d0112f Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Sun, 11 Jul 2021 19:59:05 +0200 Subject: Modify parameter list for getAll method --- core/include/category/main.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/include/category/main.php') 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) { -- cgit v1.2.3