summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgit2013-01-22 10:35:48 (GMT)
committer Olli Erinko2013-01-22 10:35:48 (GMT)
commit8f30de2cefbfd7bebb2e16b5985ee9c34683a004 (patch)
tree20213404cd27e61f2fb96a70577c058d3e780361
parent83a1339ca60a96d8cabeb8a2505ae239b5afee6a (diff)
Issue #1894150 by barami: Replaced entity number to entity name for single quotes.
-rw-r--r--views_timelinejs_plugin_style_timelinejs.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views_timelinejs_plugin_style_timelinejs.inc b/views_timelinejs_plugin_style_timelinejs.inc
index 8e1c175..869becc 100644
--- a/views_timelinejs_plugin_style_timelinejs.inc
+++ b/views_timelinejs_plugin_style_timelinejs.inc
@@ -281,7 +281,7 @@ class views_timelinejs_plugin_style_timelinejs extends views_plugin_style {
}
if ($this->options['timeline_config']['link_to_entity'] && $view->base_table == 'node' && isset($row->_field_data[$view->base_field]['entity'])) {
$row->uri = entity_uri($row->_field_data[$view->base_field]['entity_type'], $row->_field_data[$view->base_field]['entity']);
- $rows[$count][$target_field] = l($v_text, $row->uri['path']);
+ $rows[$count][$target_field] = str_replace(''', ''', l($v_text, $row->uri['path']));
}
else {
$rows[$count][$target_field] = check_plain($v_text);