summaryrefslogtreecommitdiff
path: root/www/drupal4/files/patch-modules-taxonomy-taxonomy.module
diff options
context:
space:
mode:
Diffstat (limited to 'www/drupal4/files/patch-modules-taxonomy-taxonomy.module')
-rw-r--r--www/drupal4/files/patch-modules-taxonomy-taxonomy.module11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/drupal4/files/patch-modules-taxonomy-taxonomy.module b/www/drupal4/files/patch-modules-taxonomy-taxonomy.module
new file mode 100644
index 000000000000..ee3ecd140471
--- /dev/null
+++ b/www/drupal4/files/patch-modules-taxonomy-taxonomy.module
@@ -0,0 +1,11 @@
+--- modules/taxonomy.module~ Sat Mar 17 00:26:28 2007
++++ modules/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;