]> _ Git - cubeextranet.git/commitdiff
Fix pdf not being compiled when print was disabled but not pdf download
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 9 Jul 2015 15:06:03 +0000 (15:06 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 9 Jul 2015 15:06:03 +0000 (15:06 +0000)
inc/ws/Util/html5/class.ws.html5.compiler.php

index 496ad3495ca305374b28f92472cdf09908ece676..1c660f7db56dd059951242c045ab6ecab0657db6 100644 (file)
@@ -586,7 +586,7 @@ class wsHTML5Compiler {
 
        protected function writePrint() {
 
-               if (!$this->book->parametres->print) {
+               if (!$this->book->parametres->print && !$this->book->parametres->pdf) {
                        return;
                }