From 58b9590d8954da1b310c41c442ee0771d9b84c59 Mon Sep 17 00:00:00 2001 From: Rong-En Fan Date: Sun, 25 Mar 2007 09:42:17 +0000 Subject: - Update to 5.1 PR: ports/110413 Submitted by: Nick Hilliard (maintainer) --- www/drupal6/files/patch-modules-taxonomy-taxonomy.module | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 www/drupal6/files/patch-modules-taxonomy-taxonomy.module (limited to 'www/drupal6/files/patch-modules-taxonomy-taxonomy.module') diff --git a/www/drupal6/files/patch-modules-taxonomy-taxonomy.module b/www/drupal6/files/patch-modules-taxonomy-taxonomy.module new file mode 100644 index 000000000000..eda2eb9da1b7 --- /dev/null +++ b/www/drupal6/files/patch-modules-taxonomy-taxonomy.module @@ -0,0 +1,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; -- cgit v1.2.3