]> _ Git - cubeextranet.git/commitdiff
wip #4099 @0.5
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 27 Nov 2020 15:29:29 +0000 (15:29 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 27 Nov 2020 15:29:29 +0000 (15:29 +0000)
inc/ws/Util/html5/master/class.ws.html5.compiler.php

index 3b3f06976c0782585548b310ff0172b5d6dd9dfc..98df158b01e47992f8325cda925c49f276871983 100644 (file)
@@ -348,6 +348,7 @@ class wsHTML5Compiler
         $this->config->rasterizePages = cubeArray::parseRange($this->config->rasterizePages);
         $this->config->vectorPages = array_diff(cubeArray::parseRange($this->config->vectorPages), $this->config->rasterizePages);
         $this->config->triggersLinks = [];
+        $this->config->hasContentLock=false;
     }
 
     protected function populateConfig()
@@ -1255,6 +1256,7 @@ class wsHTML5Compiler
 
     public function addContentLock($page, $unlockConditions = '')
     {
+        $this->config->hasContentLock = true;
         $unlockConditions = CubeIT_Text::explodeNewLines($unlockConditions);
         $conditions = [];
         foreach ($unlockConditions as $unlockCondition) {