From: vincent@cubedesigners.com Date: Thu, 9 Jul 2015 15:06:03 +0000 (+0000) Subject: Fix pdf not being compiled when print was disabled but not pdf download X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=c3a2b1fa31f6562adec611c257392759a0c6b9a5;p=cubeextranet.git Fix pdf not being compiled when print was disabled but not pdf download --- 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; }