Junyor discovered a bug in my previous comment callbacks patch that manifested itself with a duplicate page when a user has submitted a comment that goes into the moderation queue (an area I'm not an expert in). Part of the problem seemed to be that the "your comment is in the moderation queue" message was set as a theme print, as opposed to a drupal_set_message. This patch fixes that, as well as adding a drupal_goto to redirect the user back to where they came.
Junyor, can you confirm?
| Comment | File | Size | Author |
|---|---|---|---|
| mod_goto.patch | 1.15 KB | morbus iff |
Comments
Comment #1
junyor commentedLooks good. :)
Comment #2
dries commentedCommitted to HEAD.
Comment #3
(not verified) commented