theme_links expects an array to render links.

 'links')) {

}

If comments are displayed without comments views provides an empty string instead of an array.

CommentFileSizeAuthor
views-comment-without-links.patch719 bytesdagmar
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dagmar’s picture

Mmm drupal filter cut the original message.

theme_links expects an array to render links.

/**
 * Return a themed set of links.
 *
 * @param $links
 *   A keyed array of links to be themed.
 * @param $attributes
 *   A keyed array of attributes
 * @return
 *   A string containing an unordered list of links.
 */
function theme_links($links, $attributes = array('class' => 'links')) {

If comments are displayed without comments views provides an empty string instead of an array.

merlinofchaos’s picture

Status: Needs review » Reviewed & tested by the community

Applied to 2.x branch -- I can't apply to 3.x without unpatching pluggable pagers which is a pain right now since it adds files. Will come back and apply that one later.

merlinofchaos’s picture

Status: Reviewed & tested by the community » Fixed

Committed to all branches.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.