]> _ Git - cubeextranet.git/commitdiff
wait #4576 @0.5
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 5 Jul 2021 16:25:57 +0000 (16:25 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 5 Jul 2021 16:25:57 +0000 (16:25 +0000)
inc/ws/Util/html5/master/class.ws.html5.compiler.php

index 9dbd42aa0bcac1a28b3a63e4b65d3de6c8836c90..9c53e7a443acb6d3b07d007f20d6fac792896821 100644 (file)
@@ -1918,7 +1918,7 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
 
     protected function _sortLinksByDepth($a, $b)
     {
-        $c = $b->getDepth() - $a->getDepth();
+        $c = $a->getDepth() - $b->getDepth();
         if ($c === 0) {
             $c = $b->getSurface() - $a->getSurface();
         }