Closed (fixed)
Project:
Panels
Version:
7.x-3.3
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Oct 2012 at 19:10 UTC
Updated:
16 Jun 2014 at 16:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedHi, am having same problem, did you find a solution?
Comment #2
stefan vaduva commentedYes, on sites/all/modules/panels/panels.module line 1229 change #links with #contextual_links[edit]
Please ignore my hack and see comment #3 bellow. Thanks Merlinofchaos.
[/edit]
Comment #3
merlinofchaos commentedThat fix is not correct; while it resolves the notice, it actually destroys the rendering of contextual links.
Instead, the += should be surrounded with a if (!empty($element['#links'])) which I guess can happen if for some reason the contextual links did not render (perhaps for access reasons?)
Comment #4
peacog commentedThanks for this fix. I've rolled a patch for it.
Comment #5
duit commentedThanks all:-)
Comment #6
merlinofchaos commentedCommitted and pushed (though when attaching a patch, set the status to 'needs review' to ensure patches are mroe easily seen)