Fixed bug #4551: missing {} for prefix support
parent
2639c1d42f
commit
26e5362cf9
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue