1
0
mirror of https://github.com/typemill/typemill.git synced 2025-08-06 06:07:31 +02:00

Version 1.4.7: Fixed errors for paging after cache is deleted

This commit is contained in:
trendschau
2021-06-21 22:03:28 +02:00
parent 762ddfda37
commit 5d2b388a66
4 changed files with 12 additions and 11 deletions

View File

@@ -337,6 +337,12 @@ class Folder
public static function getPagingForItem($content, $item)
{
# if page is home
if(trim($item->pathWithoutType, "/") == 'index')
{
return $item;
}
$keyPos = count($item->keyPathArray)-1;
$thisChapArray = $item->keyPathArray;
$nextItemArray = $item->keyPathArray;