Commit 193f1f5c authored by webchick's avatar webchick
Browse files

Issue #2008970 by markie, StephaneQ, adamcowboy | thedavidmeister: Replace...

Issue #2008970 by markie, StephaneQ, adamcowboy | thedavidmeister: Replace theme() with drupal_render() in aggregator module.
parent c379479e
......@@ -157,7 +157,7 @@ function _aggregator_page_list($items, $op, $feed_source = '') {
$build['feed_source'] = is_array($feed_source) ? $feed_source : array('#markup' => $feed_source);
if ($items) {
$build['items'] = entity_view_multiple($items, 'default');
$build['pager']['#markup'] = theme('pager');
$build['pager'] = array('#theme' => 'pager');
}
}
......
......@@ -99,11 +99,13 @@ public function render($row) {
),
);
return theme($this->themeFunctions(), array(
'view' => $this->view,
'options' => $this->options,
'row' => $item,
));
$build = array(
'#theme' => $this->themeFunctions(),
'#view' => $this->view,
'#options' => $this->options,
'#row' => $item,
);
return drupal_render($build);
}
}
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