diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2004-02-21 23:43:07 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2004-02-21 23:43:07 +0000 |
commit | 2d7d796d9b256b221b8ca5aa10ae39c622db8ec4 (patch) | |
tree | f019563f26c66b40b93e2e10b562b38d66c6359f | |
parent | dccc29550499e2133a179db0d7d4ac0398ef9486 (diff) | |
download | brdo-2d7d796d9b256b221b8ca5aa10ae39c622db8ec4.tar.gz brdo-2d7d796d9b256b221b8ca5aa10ae39c622db8ec4.tar.bz2 |
- Fix implode() errors.
-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; } |