Commit 0e903bd8 authored by alexpott's avatar alexpott

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

parent e52a3bbf
......@@ -90,7 +90,11 @@ function render($values) {
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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment