summaryrefslogtreecommitdiff
path: root/www/drupal4/files/patch-modules-taxonomy-taxonomy.module
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-03-25 09:44:55 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-03-25 09:44:55 +0000
commitb330d59a68654f034965e3cfcf7d7f75d98fd5ee (patch)
treebc3e8d757b8d13abfe36a73ebcee7bfad2d1b469 /www/drupal4/files/patch-modules-taxonomy-taxonomy.module
parent- Update to 5.1 (diff)
- Fixing taxonomy module for add-on ticker module
- Switch to drupal5/bsd.drupal.mk - Rename to drupal4- PR: ports/110412 Submitted by: Nick Hilliard <nick at foobar.org> (maintainer)
Notes
Notes: svn path=/head/; revision=188257
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;