diff --git a/webform.module b/webform.module index 60237a1..301283f 100644 --- a/webform.module +++ b/webform.module @@ -1308,9 +1308,7 @@ drupal_write_record('webform', $node->webform, array('nid')); // Compare the webform components and don't do anything if it's not needed. - // The internal cache needs to be reset here so that the cached node entity - // does not get loaded and invalidate the comparisons. - $original = node_load($node->nid, NULL, TRUE); + $original = $node->original; if ($original->webform['components'] != $node->webform['components']) { module_load_include('inc', 'webform', 'includes/webform.components');