summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAlex Pott2013-06-19 20:35:33 (GMT)
committerAlex Pott2013-06-19 20:49:23 (GMT)
commit0e903bd8e142e568a8b1ac0b08929ff0735cc987 (patch)
tree48684e3397d6cb1cc12290fc1a6e8026981b7643 /core
parente52a3bbf277c02fbe2ecd3f7c0bdaa056a71d15b (diff)
Issue #2009578 by giammi, InternetDevels: Replace theme() with drupal_render() in history module.
Diffstat (limited to 'core')
-rw-r--r--core/modules/history/lib/Drupal/history/Plugin/views/field/HistoryUserTimestamp.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/modules/history/lib/Drupal/history/Plugin/views/field/HistoryUserTimestamp.php b/core/modules/history/lib/Drupal/history/Plugin/views/field/HistoryUserTimestamp.php
index fbd6b0b..6ac6db1 100644
--- a/core/modules/history/lib/Drupal/history/Plugin/views/field/HistoryUserTimestamp.php
+++ b/core/modules/history/lib/Drupal/history/Plugin/views/field/HistoryUserTimestamp.php
@@ -90,7 +90,11 @@ class HistoryUserTimestamp extends Node {
elseif ($last_comment > $last_read && $last_comment > HISTORY_READ_LIMIT) {
$mark = MARK_UPDATED;
}
- return $this->render_link(theme('mark', array('mark_type' => $mark)), $values);
+ $build = array(
+ '#theme' => 'mark',
+ '#mark_type' => $mark,
+ );
+ return $this->render_link(drupal_render($build), $values);
}
}