From: Jan Schneider Date: Mon, 2 Feb 2009 11:37:45 +0000 (+0100) Subject: Fix variable scope. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=cfb4c1ceb9c86553fec11c3c7525527c6ef21d57;p=horde.git Fix variable scope. --- diff --git a/chora/lib/Block/tree_menu.php b/chora/lib/Block/tree_menu.php index f2cc9e7b7..8ef543e9b 100644 --- a/chora/lib/Block/tree_menu.php +++ b/chora/lib/Block/tree_menu.php @@ -15,7 +15,7 @@ class Horde_Block_chora_tree_menu extends Horde_Block $arr = array(); asort($GLOBALS['sourceroots']); - foreach ($sourceroots as $key => $val) { + foreach ($GLOBALS['sourceroots'] as $key => $val) { if (Chora::checkPerms($key)) { $tree->addNode($parent . $key, $parent,