1.8 release - Parse error: unexpected ',' in nodereference.module
mariuss - September 4, 2008 - 20:24
| Project: | Content Construction Kit (CCK) |
| Version: | 5.x-1.8 |
| Component: | nodereference.module |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Description
There is an extra closing parenthesis at line 330, this completely breaks your site if you are using nodereference.

#1
I can confirm.
here is a patch
#2
+1. Can also confirm. Marking as RTBTC.
#3
Isn't the function called content_filter_xss and not content_filter_xsst?
#4
Right, it's not an extra ')' it's a missing '('
#5
Ack - I was too quick to chime with my rtbtc. Back to code needs review.
I believe the correct line is actually:
'#description' => content_filter_xss(t($field['widget']['description'])),
Adding a '(' before the 't' function, not pulling the closing ')'.
#6
restoring title after crosspost
#7
Triple doh.
Fixed in 1.9 :-(
Sorry about that...
#8
#9
Better title so that people can find it more easily
#10
Automatically closed -- issue fixed for two weeks with no activity.