From c3a2b1fa31f6562adec611c257392759a0c6b9a5 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Thu, 9 Jul 2015 15:06:03 +0000 Subject: [PATCH] Fix pdf not being compiled when print was disabled but not pdf download --- inc/ws/Util/html5/class.ws.html5.compiler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/ws/Util/html5/class.ws.html5.compiler.php b/inc/ws/Util/html5/class.ws.html5.compiler.php index 496ad3495..1c660f7db 100644 --- a/inc/ws/Util/html5/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/class.ws.html5.compiler.php @@ -586,7 +586,7 @@ class wsHTML5Compiler { protected function writePrint() { - if (!$this->book->parametres->print) { + if (!$this->book->parametres->print && !$this->book->parametres->pdf) { return; } -- 2.39.5