Although not a real bug, it is worth to fix it. In panels_ipe.api.php the hook_panels_ipe_access() example uses the variable $display but the passed in variable is named $panels_display. I think the passed in variable should be $display of class panels_display to be consistent with the rest of the code.

Please review the attached one-liner patch.

Comments

Елин Й. created an issue. See original summary.

ey’s picture

Status: Active » Needs review
dsnopek’s picture

dsnopek’s picture

Status: Needs review » Reviewed & tested by the community

Thanks! I personally wouldn't have used the type hinting, because we're not using it in any of the panels.api.php docs, but it's valid, so RTBC :-)

japerry’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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