diff --git a/modules/taxonomy.module b/modules/taxonomy.module
index 5bed8bb16aea5ae42c8447bc7d4f6a0495f5cae6..693bd36f84ca506ed957c5c7e6dfa762df8f6c79 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 5bed8bb16aea5ae42c8447bc7d4f6a0495f5cae6..693bd36f84ca506ed957c5c7e6dfa762df8f6c79 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;