summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2004-02-21 23:43:07 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2004-02-21 23:43:07 +0000
commit2d7d796d9b256b221b8ca5aa10ae39c622db8ec4 (patch)
treef019563f26c66b40b93e2e10b562b38d66c6359f /modules
parentdccc29550499e2133a179db0d7d4ac0398ef9486 (diff)
downloadbrdo-2d7d796d9b256b221b8ca5aa10ae39c622db8ec4.tar.gz
brdo-2d7d796d9b256b221b8ca5aa10ae39c622db8ec4.tar.bz2
- Fix implode() errors.
Diffstat (limited to 'modules')
-rw-r--r--modules/taxonomy.module1
-rw-r--r--modules/taxonomy/taxonomy.module1
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;
}