@ -180,7 +180,7 @@
$page = 0;
foreach ($content as $article)
{
if ($includepages && $article->PageNumber > $page)
if ($article->PageNumber > $page)
$page = $article->PageNumber;
$pageobj = array_values(array_filter($pageindex->Page, function($p)