From: Vincent Vanwaelscappel Date: Wed, 20 Sep 2023 08:45:07 +0000 (+0200) Subject: wip #6296 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=5fd690b9686b3bf5fdcaf2748c3397a3d262ef41;p=fluidbook_processfarm.git wip #6296 --- diff --git a/app/src/ProcessFile.php b/app/src/ProcessFile.php index 89ec741..d5ee9cd 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 requestion the page ' . $this->getPage()); + throw new \Exception('PDF document has ' . $this->getPDFPagesNumber() . ' and you are requesting the page ' . $this->getPage()); } PDFTools::split($this->getPdf(), $this->getOut() . '/pdf'); }