From c3f49e2798f10d5f0bc1f1cced54bb32684f3de3 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 20 Sep 2023 11:05:28 +0200 Subject: [PATCH] wait #6296 --- app/src/ProcessFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/ProcessFile.php b/app/src/ProcessFile.php index d5ee9cd..ca89658 100644 --- a/app/src/ProcessFile.php +++ b/app/src/ProcessFile.php @@ -183,7 +183,7 @@ class ProcessFile extends \Fluidbook\Tools\Jobs\ProcessFile $res = $this->getOut() . 'pdf/p' . $this->getPage() . '.pdf'; if (!file_exists($res)) { if ($this->getPage() > $this->getPDFPagesNumber()) { - throw new \Exception('PDF document has ' . $this->getPDFPagesNumber() . ' and you are requesting the page ' . $this->getPage()); + throw new \Exception('PDF document has ' . $this->getPDFPagesNumber() . ' pages and you are requesting the page ' . $this->getPage()); } PDFTools::split($this->getPdf(), $this->getOut() . '/pdf'); } -- 2.39.5