From: vincent@cubedesigners.com Date: Fri, 27 Nov 2020 15:29:29 +0000 (+0000) Subject: wip #4099 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=932753203bf73714d783f278d7a8744078485285;p=cubeextranet.git wip #4099 @0.5 --- diff --git a/inc/ws/Util/html5/master/class.ws.html5.compiler.php b/inc/ws/Util/html5/master/class.ws.html5.compiler.php index 3b3f06976..98df158b0 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -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) {