From 8703e42998ef2935a33b78256143c0f62d890b88 Mon Sep 17 00:00:00 2001 From: nehresma Date: Mon, 6 Mar 2000 15:42:42 +0000 Subject: [PATCH] took out some debugging code git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@273 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/tree.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/functions/tree.php b/functions/tree.php index 5ee0a775..7abcc2d0 100644 --- a/functions/tree.php +++ b/functions/tree.php @@ -9,10 +9,8 @@ if ($tree[$treeIndexToStart]["doIHaveChildren"]) { for ($i=0;$i< count($tree[$treeIndexToStart]["subNodes"]);$i++) { $result = findParentForChild($value, $tree[$treeIndexToStart]["subNodes"][$i], $tree); - if ($result > -1) { - echo "parent for $value is : " . $tree[$treeIndexToStart]["subNodes"][$i] . "
"; + if ($result > -1) return $result; - } } return $treeIndexToStart; } else -- 2.25.1