Tweaks
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 25 Aug 2010 17:43:48 +0000 (11:43 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 25 Aug 2010 17:58:32 +0000 (11:58 -0600)
framework/Tree/lib/Horde/Tree/Select.php

index cb946f7..d55036c 100644 (file)
@@ -76,7 +76,8 @@ class Horde_Tree_Select extends Horde_Tree
         $output = '<option value="' . htmlspecialchars($node_id) . '"' .
             (empty($node['selected']) ? '' : ' selected="selected"') .
             '>' .
-            str_repeat('&nbsp;&nbsp;', intval($node['indent'])) . htmlspecialchars($node['label']) .
+            str_repeat('&nbsp;', intval($node['indent']) * 2) .
+            htmlspecialchars($node['label']) .
             '</option>';
 
         if (isset($node['children']) && $node['expanded']) {