diff --git a/epub.php b/epub.php index 79b2130..d2580cf 100644 --- a/epub.php +++ b/epub.php @@ -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)