There is an extra closing parenthesis at line 330, this completely breaks your site if you are using nodereference.

Comments

stevenpatz’s picture

Status: Active » Needs review
StatusFileSize
new822 bytes

I can confirm.
here is a patch

dgorton’s picture

Status: Needs review » Reviewed & tested by the community

+1. Can also confirm. Marking as RTBTC.

cyberswat’s picture

Isn't the function called content_filter_xss and not content_filter_xsst?

john morahan’s picture

Title: extra ) at 330 » missing ( at 330
Status: Reviewed & tested by the community » Needs review
StatusFileSize
new588 bytes

Right, it's not an extra ')' it's a missing '('

dgorton’s picture

Title: missing ( at 330 » extra ) at 330

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 ')'.

john morahan’s picture

Title: extra ) at 330 » missing ( at 330

restoring title after crosspost

yched’s picture

Triple doh.
Fixed in 1.9 :-(

Sorry about that...

yched’s picture

Status: Needs review » Fixed
yched’s picture

Title: missing ( at 330 » 1.8 release - Parse error: unexpected ',' in nodereference.module

Better title so that people can find it more easily

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.