From: vincent@cubedesigners.com Date: Mon, 5 Jul 2021 16:25:57 +0000 (+0000) Subject: wait #4576 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=0dae7e4e27796d94756f52f1d607abc63a402c4e;p=cubeextranet.git wait #4576 @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 9dbd42aa0..9c53e7a44 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -1918,7 +1918,7 @@ height="0" width="0" style="display:none;visibility:hidden"> protected function _sortLinksByDepth($a, $b) { - $c = $b->getDepth() - $a->getDepth(); + $c = $a->getDepth() - $b->getDepth(); if ($c === 0) { $c = $b->getSurface() - $a->getSurface(); }