summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--includes/views/handlers/content_handler_field.inc1
-rw-r--r--includes/views/handlers/content_handler_field_multiple.inc4
2 files changed, 3 insertions, 2 deletions
diff --git a/includes/views/handlers/content_handler_field.inc b/includes/views/handlers/content_handler_field.inc
index 708b5be..5416718 100644
--- a/includes/views/handlers/content_handler_field.inc
+++ b/includes/views/handlers/content_handler_field.inc
@@ -170,7 +170,6 @@ class content_handler_field extends views_handler_field_node {
// We're down to a single node here, so we can retrieve the actual field
// definition for the node type being considered.
$field = content_fields($this->content_field['field_name'], $values->{$this->aliases['type']});
-
$options = $this->options;
$db_info = content_database_info($field);
diff --git a/includes/views/handlers/content_handler_field_multiple.inc b/includes/views/handlers/content_handler_field_multiple.inc
index 913a7b9..21e7a3a 100644
--- a/includes/views/handlers/content_handler_field_multiple.inc
+++ b/includes/views/handlers/content_handler_field_multiple.inc
@@ -203,7 +203,9 @@ class content_handler_field_multiple extends content_handler_field {
return parent::render($values);
}
- $field = $this->content_field;
+ // We're down to a single node here, so we can retrieve the actual field
+ // definition for the node type being considered.
+ $field = content_fields($this->content_field['field_name'], $values->{$this->aliases['type']});
$options = $this->options;
$vid = $values->{$this->field_alias};