diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/taxonomy.module | 1 | ||||
-rw-r--r-- | modules/taxonomy/taxonomy.module | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/taxonomy.module b/modules/taxonomy.module index 56714971f..2187f64b3 100644 --- a/modules/taxonomy.module +++ b/modules/taxonomy.module @@ -734,6 +734,7 @@ function taxonomy_page() { // Build title: $sql = 'SELECT name FROM {term_data} WHERE tid IN (%s)'; $result = db_query($sql, $taxonomy->str_tids); + $names = array(); while ($term = db_fetch_object($result)) { $names[] = $term->name; } diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 56714971f..2187f64b3 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -734,6 +734,7 @@ function taxonomy_page() { // Build title: $sql = 'SELECT name FROM {term_data} WHERE tid IN (%s)'; $result = db_query($sql, $taxonomy->str_tids); + $names = array(); while ($term = db_fetch_object($result)) { $names[] = $term->name; } |