Closed (duplicate)
Project:
Panels
Version:
7.x-3.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Apr 2012 at 17:13 UTC
Updated:
9 Jul 2012 at 10:05 UTC
Jump to comment: Most recent file
Comments
Comment #1
twistor commentedRather than check in the tpl file, just make sure everything is initialized in add-content.inc
This also fixes:
Comment #2
twistor commentedComment #3
twistor commentedArg. A little overzealous with removing variables.
Comment #4
zilverdistel commentedThanks for looking into it! Some further thoughts on the patch, which fixes the problem for me ...
We only really need this line to solve the issue, I think.
Strange how this got in the code. Function range() needs at least 2 arguments.
This is definitely a bug, but maybe it should be addressed in a separate issue/patch?
It's better not to touch code in your patch that doesn't involve the issue ...
Comment #5
justin.koh commentedUsing Panels 7.x-3.2 on a new-ish site, panels was working fine but today discovered this problem. Not sure when the problem started happening but patch in #3 works for me.
Comment #6
twistor commented#933748: Theme 'Add content' Modal box
Comment #7
twistor commentedComment #8
Ivanhoe123 commented#3 worked for me
Thanks!
Comment #8.0
Ivanhoe123 commentedUpdated issue summary.