diff options
author | Thomas Lange <code@nerdmind.de> | 2021-07-11 19:59:05 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-07-11 19:59:05 +0200 |
commit | a4242144eebc101bc1e5ec150a80312e30d0112f (patch) | |
tree | 5c41416352f5bc12563122c0cff05fdd6b613b89 /core/include/category | |
parent | 42da9bd4bb6d35706ee5fefd3bac9b60ac5ada34 (diff) | |
download | blog-a4242144eebc101bc1e5ec150a80312e30d0112f.tar.gz blog-a4242144eebc101bc1e5ec150a80312e30d0112f.tar.xz blog-a4242144eebc101bc1e5ec150a80312e30d0112f.zip |
Modify parameter list for getAll method
Diffstat (limited to 'core/include/category')
-rw-r--r-- | core/include/category/main.php | 3 |
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) { |