| Comment | File | Size | Author |
|---|---|---|---|
| #6 | search-replace_theme-2009666-6.patch | 1.85 KB | jeroent |
| #4 | 2009666-replace_theme_with_drupal_render_in_search-2.patch | 1.8 KB | jlandfried |
| #1 | 2009666-replace_theme_with_drupal_render_in_search-1.patch | 1.64 KB | aaronott |
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | search-replace_theme-2009666-6.patch | 1.85 KB | jeroent |
| #4 | 2009666-replace_theme_with_drupal_render_in_search-2.patch | 1.8 KB | jlandfried |
| #1 | 2009666-replace_theme_with_drupal_render_in_search-1.patch | 1.64 KB | aaronott |
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!