Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jul 2011 at 08:51 UTC
Updated:
8 Aug 2011 at 16:51 UTC
Trying to create a new panel on my site, I get this error on a blank screen:
Parse error: syntax error, unexpected ')' in /.../sites/all/modules/ctools/plugins/contexts/node_add_form.inc on line 37
After a little digging, I found that this only happens when 'Contexts' option inside 'Optional features' is selected. Looking the line of the inc file looks like this:
if ($empty || $creating)) {
I guess that it was a typo when changing from the 6.x-1.8 version, that looks like:
if ($empty || (isset($created) && $created)) {
Comments
Comment #1
merlinofchaos commentedWhoops. Silly unbalanced parens.
Committed a fix.