From fcb68a62dcbd6e5937b650188af9f64508903929 Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Mon, 8 Jul 2024 11:50:57 +0200 Subject: [PATCH] fix pages --- epub.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)