I ported my 6.x site to 7.x and in pages NOT INCLUDED in pager list array
I got an error in line 286 while evaluating $list[$key] when $key value is "-1"

in order to avoid it I added the following line right before the foreach loop (line 284)

if ($key == -1) {
  $nav['current_index'] = $key;
  return $nav;
}

Thanks for the great module and the port.
Ben

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tobiasb’s picture

Status: Active » Needs review
FileSize
469 bytes
468 bytes

Here is a patch for the current d6 and d7 branch.

eloivaque’s picture

#1 for drupal 7, it's works for me

gapple’s picture

gapple’s picture

Issue summary: View changes

wrapped the code snippet

mvc’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

works for me!

Anonymous’s picture

works for me! :)

klokie’s picture

#1 FTW! :)

NWOM’s picture

#1 still works. Wish we had an active maintainer to get this committed and release a stable version of the module with security advisory policy.