summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaren Stevenson2012-02-21 13:29:30 (GMT)
committer Karen Stevenson2012-02-21 13:29:30 (GMT)
commit6926798870c318efbe74ef1937a7d1c4ccf147c3 (patch)
treeb0b31865fa370557c97fbae63b499b7b8f8f631f
parenteaab3108be69902b9cf04ad7f58a57135d6ade8c (diff)
Fix broken url handling in the row plugin.
-rw-r--r--includes/calendar_plugin_row.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/calendar_plugin_row.inc b/includes/calendar_plugin_row.inc
index 8dc7475..d114906 100644
--- a/includes/calendar_plugin_row.inc
+++ b/includes/calendar_plugin_row.inc
@@ -343,7 +343,9 @@ class calendar_plugin_row extends views_plugin_row {
$this->id = $entity->{$this->id_field};
$this->type = !empty($info['entity keys']['bundle']) ? $info['entity keys']['bundle'] : $this->entity_type;
$this->title = entity_label($this->entity_type, $entity);
- $this->url = entity_uri($this->entity_type, $entity);
+ $uri = entity_uri($this->entity_type, $entity);
+ $uri['options']['absolute'] = TRUE;
+ $this->url = url($uri['path'], $uri['options']);
// Retrieve the field value(s) that matched our query from the cached node.
// Find the date and set it to the right timezone.