Fixed bug #4551: missing {} for prefix support

4.4.x
Dries Buytaert 2003-12-28 00:05:49 +00:00
parent 2639c1d42f
commit 26e5362cf9
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;