aboutsummaryrefslogtreecommitdiff
path: root/www/drupal7/files/patch-modules-taxonomy-taxonomy.module
blob: eda2eb9da1b7e51cc2afda20b31ff51217f362d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- modules/taxonomy/taxonomy.module~	Sat Mar 17 00:26:28 2007
+++ modules/taxonomy/taxonomy.module	Sat Mar 17 00:26:28 2007
@@ -619,7 +619,7 @@
   foreach ($vocabularies as $vid => $vocabulary) {
     if ($vocabulary->tags && !$free_tags) { continue; }
     $tree = taxonomy_get_tree($vid);
-    if ($tree && (count($tree) > 1)) {
+    if ($tree && (count($tree) >= 1)) {
       $options[$vocabulary->name] = array();
       foreach ($tree as $term) {
         $options[$vocabulary->name][$term->tid] = str_repeat('-', $term->depth) . $term->name;