Skip to content

Commit

Permalink
fix: wrong if statement pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
NiclasNorin committed Dec 6, 2023
1 parent e7c47f6 commit a404bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/v3/partials/content/pdf/post.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<article class="pdf-post {{ empty($cover) && $hasMoreThanOnePost ? 'pdf-page-break' : '' }}">
<article class="pdf-post {{ !empty($cover) || $hasMoreThanOnePost ? 'pdf-page-break' : '' }}">
<script class="pdf-script" type="text/php">
$GLOBALS['chapters']['{{$index + 1}}'] = $pdf->get_page_number();
</script>
Expand Down

0 comments on commit a404bc5

Please sign in to comment.