? 184524.patch
? filter_administration_2_.patch
? new_taxonomy_1.diff
? taxonomy-trim_1.patch
? taxonomy_get_synomyms_better.patch
? taxonomy_get_tree_flush_static_vars.patch
? taxonomy_get_tree_indexed_by_tid.d7.patch
? taxonomy_page_increment.patch
? trim_term_vocab.patch
? up_terms_per_page.patch
? sites/default/files
? sites/default/settings.php
Index: modules/taxonomy/taxonomy.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/taxonomy/taxonomy.module,v
retrieving revision 1.427
diff -u -p -r1.427 taxonomy.module
--- modules/taxonomy/taxonomy.module	19 Sep 2008 20:25:03 -0000	1.427
+++ modules/taxonomy/taxonomy.module	21 Sep 2008 23:08:27 -0000
@@ -834,8 +834,10 @@ function taxonomy_get_children($tid, $vi
  *   to have "depth" and "parents" attributes in addition to its normal ones.
  *   Results are statically cached.
  */
-function taxonomy_get_tree($vid, $parent = 0, $depth = -1, $max_depth = NULL) {
-  static $children, $parents, $terms;
+function taxonomy_get_tree($vid, $parent = 0, $depth = -1, $max_depth = NULL, $reset = FALSE) {
+  if (!$reset) {
+    static $children, $parents, $terms;
+  }
 
   $depth++;
 
