Jump to content

Bug in ProcessPageType (dev branch)


teppo
 Share

Recommended Posts

There seems to be a bug in ProcessPageType (dev branch) that affects at least user list: renderList() tries to render MarkupPagerNav with params $pages and $pagerOptions, which fails since $pagerOptions is by default null and MarkupPagerNav expects an array.

Following changes seemed to fix this, at least in this case. Haven't had the chance to test further yet -- currently on a lecture, can't spend too much time debugging/testing.. :)

- protected function renderList($selector = '', $pagerOptions = null) {
+ protected function renderList($selector = '', $pagerOptions = array()) {

This came up while adding users to a site (26th user => page won't render.)

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...