Commit a8d6a95c authored by yched's avatar yched

#154450- fix 'undefined variable' warnings on content_field('load') - (some leftover

 code that was not supposed to make it here) - thanks tema
parent 2fd606e8
...@@ -402,7 +402,7 @@ function content_field($op, &$node, $field, &$node_field, $teaser, $page) { ...@@ -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'; $query = 'SELECT '. implode(', ', $column_names) .' FROM {'. $db_info['table'] .'} WHERE vid = %d';
if ($field['multiple']) { if ($field['multiple']) {
$result = db_query($query .' ORDER BY delta'. $compl, $node->vid); $result = db_query($query .' ORDER BY delta', $node->vid);
} }
else { else {
$result = db_query_range($query, $node->vid, 0, 1); $result = db_query_range($query, $node->vid, 0, 1);
......
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