Index: webform.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform/webform.module,v
retrieving revision 1.113.2.73
diff -u -r1.113.2.73 webform.module
--- webform.module	10 Feb 2008 23:25:05 -0000	1.113.2.73
+++ webform.module	11 Feb 2008 02:35:38 -0000
@@ -266,6 +266,7 @@
   $result = db_query('SELECT * FROM {webform_component} WHERE nid = %d ORDER BY weight, name', $node->nid);
   while ($c = db_fetch_array($result)) {
     $additions->webformcomponents[$c['cid']]['cid'] = $c['cid'];
+    $additions->webformcomponents[$c['cid']]['nid'] = $c['nid'];
     $additions->webformcomponents[$c['cid']]['form_key'] = $c['form_key'] ? $c['form_key'] : $c['cid'];
     $additions->webformcomponents[$c['cid']]['name'] = t($c['name']);
     $additions->webformcomponents[$c['cid']]['type'] = $c['type'];
