Line 338:
if ($theme_registry['pager_link']['function']['theme_pager_link']) {

Should be:
if (isset($theme_registry['pager_link']['function']['theme_pager_link'])) {

Comments

j_ten_man’s picture

Status: Active » Needs review

Committed to latest dev. It'll go out with the next release.

villette’s picture

I don't think this is how the theme registry works, if you look at the documentation of hook_theme on drupal.org, you'll se that the attribute "function" is not an array but a callback:

function: If specified, this will be the function name to invoke for this implementation. If neither 'template' nor 'function' is specified, a default function name will be assumed. For example, if a module registers the 'node' theme hook, 'theme_node' will be assigned to its function. If the chameleon theme registers the node hook, it will be assigned 'chameleon_node' as its function.

Therefore, i would suggest to correct this line to:

if ($theme_registry['pager_link']['function'] == 'theme_pager_link') {

villette’s picture

Issue summary: View changes
StatusFileSize
new575 bytes

Here is a path to apply to the latest dev version.

j_ten_man’s picture

Thanks. Just committed the fix.

btopro’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
Status: Needs review » Fixed

this already in dev, marking closed / version since it's in VC already

Status: Fixed » Closed (fixed)

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