Index: webform.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/webform/webform.module,v retrieving revision 1.113.2.38 diff -u -r1.113.2.38 webform.module --- webform.module 13 Jun 2007 00:47:19 -0000 1.113.2.38 +++ webform.module 16 Jul 2007 18:12:23 -0000 @@ -1421,6 +1421,11 @@ watchdog('webform', t('Submission posted to %title', array('%title' => $node->title)) . l(t('Results'), 'node/'.$node->nid, NULL, 'sid='.$sid)."
\n".nl2br(htmlentities($message)), WATCHDOG_NOTICE); } + // Not doing anything with the response at this time - what would you do. + // Use $form_values['submitted_tree'] instead since it contains the field names + // Leaving it to hook author to flatten multi-dimensional array if needed + module_invoke_all('webform_submission', $form_values['submitted_tree']); + // Check confirmation field to see if redirect should be to another node or a message if (valid_url(trim($node->confirmation), true)) { return trim($node->confirmation);