Commit aed78ff3 authored by alexpott's avatar alexpott

Issue #2010122 by jeroen12345, helga.chb, heddn: Replace theme() with...

Issue #2010122 by jeroen12345, helga.chb, heddn: Replace theme() with drupal_render() in image module for theme_image_crop_summary().
parent 500c0820
......@@ -751,7 +751,11 @@ function theme_image_scale_summary($variables) {
* @ingroup themeable
*/
function theme_image_crop_summary($variables) {
return theme('image_resize_summary', $variables);
$image_resize_summary = array(
'#theme' => 'image_resize_summary',
'#data' => $variables['data'],
);
return drupal_render($image_resize_summary);
}
/**
......
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