From 95d4cf64137a4a9b6fbfe2dd9f24660266f8e690 Mon Sep 17 00:00:00 2001 From: Alex Puiu Date: Mon, 21 Feb 2022 11:03:38 +0200 Subject: [PATCH] refactor --- app/Ingest/PDFConvertor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Ingest/PDFConvertor.php b/app/Ingest/PDFConvertor.php index 3aeb25c..2f1865c 100644 --- a/app/Ingest/PDFConvertor.php +++ b/app/Ingest/PDFConvertor.php @@ -158,7 +158,7 @@ class PDFConvertor extends AbstractConvertor $html = $html . '

' . $continuousP . '

'; } - if (!empty($footerImages) > 0) { + if (!empty($footerImages)) { foreach ($footerImages as $footerImage) { $html = $html . '

' . $footerImage . '

'; }