diff --git a/fillpdf.module b/fillpdf.module index 5ee5502326b747fa549caaf6933218f0aba36bb2..4eb928be57fc668ab3a92da1f68902632f98be96 100644 --- a/fillpdf.module +++ b/fillpdf.module @@ -291,7 +291,8 @@ function fillpdf_merge_pdf($fid, $nids = NULL, $webform_arr = NULL, $sample = NU // Webforms if (module_exists('webform') && is_array($webform_arr)) { - // Load the submissions inc depending on webform-2.x or webform-3.x + // Load the proper submission helper file and account for the different + // versions of Webform. $included = module_load_include('inc', 'webform', 'includes/webform.submissions'); if ($included === FALSE) { module_load_include('inc', 'webform', 'webform_submissions');