Issue by giammi, InternetDevels: Replace theme() with drupal_render() in history module.

8.0.x
Alex Pott 2013-06-19 22:35:33 +02:00
parent e52a3bbf27
commit 0e903bd8e1
1 changed files with 5 additions and 1 deletions
core/modules/history/lib/Drupal/history/Plugin/views/field

View File

@ -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);
}
}