For some menu items, there is no entry for 'page callback', e.g admin_menu.
The patch below only adds an isset() check.

Comments

b-prod’s picture

StatusFileSize
new1.46 KB
deekayen’s picture

Status: Needs review » Fixed

Committed to master and 6.x-1.x.

andypost’s picture

StatusFileSize
new616 bytes

backported from D7 branch #1103588: Cleanup code and optimize query count

isset() faster

Status: Fixed » Closed (fixed)

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

  • Commit eb06aba on master, 8.x-2.x, 8.x-2.x-admin-menu, 8.x-1.x-1836516 by deekayen:
    #1079312 by B-Prod: fix undefined key notice when page callbacks are...

  • Commit eb06aba on master, 8.x-2.x, 8.x-2.x-admin-menu, 8.x-1.x-1836516 by deekayen:
    #1079312 by B-Prod: fix undefined key notice when page callbacks are...