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.
| Comment | File | Size | Author |
|---|---|---|---|
| undefined-variable-display-in-hook-panels-ipe-access.patch | 594 bytes | ey |
Comments
Comment #2
ey commentedComment #3
dsnopekComment #4
dsnopekThanks! 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 :-)
Comment #5
japerry