? .svn ? webform.notice.patch ? components/.svn ? tests/.svn ? translations/.svn Index: webform.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/webform/webform.module,v retrieving revision 1.124.2.94 diff -u -p -r1.124.2.94 webform.module --- webform.module 14 Feb 2009 08:18:14 -0000 1.124.2.94 +++ webform.module 18 Feb 2009 11:16:23 -0000 @@ -2017,7 +2017,7 @@ function template_preprocess_webform_mai * The current amount of indentation being applied to printed components. */ function theme_webform_mail_fields($cid, $value, $node, $indent = "") { - $component = $node->webform['components'][$cid]; + $component = $cid ? $node->webform['components'][$cid] : null; // Check if this component needs to be included in the email at all. if ($cid && !$component['email'] && !in_array($component['type'], array('markup', 'fieldset', 'pagebreak'))) {