summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/content.module b/content.module
index d65dc10..887fd09 100644
--- a/content.module
+++ b/content.module
@@ -402,7 +402,7 @@ function content_field($op, &$node, $field, &$node_field, $teaser, $page) {
}
$query = 'SELECT '. implode(', ', $column_names) .' FROM {'. $db_info['table'] .'} WHERE vid = %d';
if ($field['multiple']) {
- $result = db_query($query .' ORDER BY delta'. $compl, $node->vid);
+ $result = db_query($query .' ORDER BY delta', $node->vid);
}
else {
$result = db_query_range($query, $node->vid, 0, 1);