1
0
mirror of https://github.com/typemill/typemill.git synced 2025-08-10 08:04:43 +02:00

Version 1.4.7: Fixed displayErrorDetails and trim for paginations

This commit is contained in:
trendschau
2021-06-21 22:24:44 +02:00
parent 5d2b388a66
commit 5be1d6c081
2 changed files with 3 additions and 3 deletions

View File

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