]> _ Git - cubeextranet.git/commitdiff
wait #4134 @3
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 18 Dec 2020 09:13:36 +0000 (09:13 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 18 Dec 2020 09:13:36 +0000 (09:13 +0000)
inc/ws/Util/html5/master/class.ws.html5.compiler.php
inc/ws/Util/html5/master/class.ws.html5.links.php

index b240a61e63107d6fae877cbf8ec2a2c6fe531f1c..32380a6888d6c4a2b7188fe850699e478e1e6bca 100644 (file)
@@ -1671,6 +1671,7 @@ class wsHTML5Compiler
                     $ctpages[$lta->page] = '';
                 }
 
+
                 $v = $depths[$lta->getDepth()];
                 $$v[$lta->page] .= $c;
             }
index 7237a76d6a8091b67d40dff583290d81bb82a657..cbbfcc1da3952799f05ccc4dd027549de6e92d23 100644 (file)
@@ -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;