summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-12-28 00:05:49 +0000
committerDries Buytaert <dries@buytaert.net>2003-12-28 00:05:49 +0000
commit26e5362cf957be9aeb4da8b0a76225a4c91da863 (patch)
tree35c7f4c741140c4abb62c383c5151380fdf4bd1d
parent2639c1d42f58fd6db6035f88b6860c2e6931af74 (diff)
downloadbrdo-26e5362cf957be9aeb4da8b0a76225a4c91da863.tar.gz
brdo-26e5362cf957be9aeb4da8b0a76225a4c91da863.tar.bz2
Fixed bug #4551: missing {} for prefix support
-rw-r--r--modules/taxonomy.module2
-rw-r--r--modules/taxonomy/taxonomy.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/taxonomy.module b/modules/taxonomy.module
index 5bed8bb16..693bd36f8 100644
--- a/modules/taxonomy.module
+++ b/modules/taxonomy.module
@@ -736,7 +736,7 @@ function taxonomy_page() {
break;
default:
// Build title:
- $sql = 'SELECT name FROM term_data WHERE tid IN (%s)';
+ $sql = 'SELECT name FROM {term_data} WHERE tid IN (%s)';
$result = db_query($sql, $taxonomy->str_tids);
while ($term = db_fetch_object($result)) {
$names[] = $term->name;
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 5bed8bb16..693bd36f8 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -736,7 +736,7 @@ function taxonomy_page() {
break;
default:
// Build title:
- $sql = 'SELECT name FROM term_data WHERE tid IN (%s)';
+ $sql = 'SELECT name FROM {term_data} WHERE tid IN (%s)';
$result = db_query($sql, $taxonomy->str_tids);
while ($term = db_fetch_object($result)) {
$names[] = $term->name;