Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
theme system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Jun 2013 at 08:32 UTC
Updated:
29 Jul 2014 at 22:27 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
aaronott commentedComment #3
thedavidmeister commented$output['suffix']['#markup'] = '</ol>' . drupal_render(array('#theme' => 'pager'));You can't do this kind of thing with drupal_render() or you'll get fatal errors.
You *must* declare your array and pass it to drupal_render() in two steps as drupal_render() will attempt to modify it by reference.
Eg:
Comment #4
jlandfried commentedComment #6
jeroentReplaced theme with drupal_render.
Comment #7
thedavidmeister commentedthis looks good to me
Comment #8
alexpottCommitted 33b0337 and pushed to 8.x. Thanks!