From 0dae7e4e27796d94756f52f1d607abc63a402c4e Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Mon, 5 Jul 2021 16:25:57 +0000 Subject: [PATCH] wait #4576 @0.5 --- inc/ws/Util/html5/master/class.ws.html5.compiler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.39.5