Commit 26e5362c authored by Dries's avatar Dries

Fixed bug #4551: missing {} for prefix support

parent 2639c1d4
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment