mirror of
https://github.com/typemill/typemill.git
synced 2025-10-29 04:06:24 +01:00
Version 1.4.7: Fixed errors for paging after cache is deleted
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user