From: Vincent Vanwaelscappel Date: Wed, 23 Feb 2022 15:07:21 +0000 (+0100) Subject: wip #5122 @0:10 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=56b0918d2a682eac47d1905d1ff286656957f154;p=cubist_minisearch.git wip #5122 @0:10 --- diff --git a/src/Document/PDF.php b/src/Document/PDF.php index 73af696..924b87d 100644 --- a/src/Document/PDF.php +++ b/src/Document/PDF.php @@ -34,7 +34,7 @@ class PDF extends Document $page = $base; $page['id'] .= '#page=' . $i; $page['url'] .= '#page=' . $i; - if ($page['id'] != 1) { + if ($i != 1) { $page['displayedTitle'] .= ' - Page ' . $i; $page['title'] = ''; }