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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user