this confirms my suspicion that nobody spends any time in comment.module... ;)

attached uses the proper FAPI syntax for returning a redirect.

patch is for D6, but this needs to be fixed in D5 as well...

marking as critical, because this breaks an important project module bugfix.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hunmonk’s picture

FileSize
617 bytes

patch for D5.

dmitrig01’s picture

Drupal 5 looks good, but in Drupal 6, we set $form_state['redirect'], and we don't return anything

dmitrig01’s picture

Status: Needs review » Needs work
hunmonk’s picture

Status: Needs work » Needs review
FileSize
624 bytes

good catch. here's the correct patch for D6.

dww’s picture

Status: Needs review » Reviewed & tested by the community

#1 for DRUPAL-5 and #4 for HEAD are both RTBC. Not sure I agree this is critical, but I'll leave that alone... ;) It is important for project.module, so it should definitely go in ASAP, thanks.

Gábor Hojtsy’s picture

Version: 6.x-dev » 5.x-dev

Thanks, committed to Drupal 6.x.

drumm’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 5.x.

Anonymous’s picture

Status: Fixed » Closed (fixed)