From: vincent@cubedesigners.com Date: Fri, 18 Dec 2020 09:13:36 +0000 (+0000) Subject: wait #4134 @3 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=ab70f9853fa4ccd3f58e00385e32a60692724127;p=cubeextranet.git wait #4134 @3 --- 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 b240a61e6..32380a688 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -1671,6 +1671,7 @@ class wsHTML5Compiler $ctpages[$lta->page] = ''; } + $v = $depths[$lta->getDepth()]; $$v[$lta->page] .= $c; } diff --git a/inc/ws/Util/html5/master/class.ws.html5.links.php b/inc/ws/Util/html5/master/class.ws.html5.links.php index 7237a76d6..cbbfcc1da 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.links.php +++ b/inc/ws/Util/html5/master/class.ws.html5.links.php @@ -369,7 +369,7 @@ class wsHTML5Link public function getDepth() { - if ($this->zindex == -1) { + if ($this->zindex == -1 || null === $this->zindex || !$this->zindex) { return $this->defaultZIndex; } return $this->zindex;