--- webform.module.ori	2008-05-06 11:47:02.000000000 +0200
+++ webform.module	2008-05-06 11:46:39.000000000 +0200
@@ -1987,6 +1987,7 @@ function _webform_load_components($retur
  * Editable display of a webform submission.
  */
 function webform_submission_edit(&$node, $sid) {
+  global $user;
   include_once(drupal_get_path('module', 'webform') ."/webform.inc");
 
   $node->webformcomponents = _webform_components_decode($node->webformcomponents);
