diff --git a/fillpdf.module b/fillpdf.module index 34589d5cde4b9c4cf88f0d4aa998b9931162f851..22d0b5f7a364fe5d21a671bef19e57cfedeeb595 100644 --- a/fillpdf.module +++ b/fillpdf.module @@ -566,8 +566,8 @@ function fillpdf_merge_pdf($fid, $nids = NULL, $webform_array = NULL, $sample = // Keep track of whether we're dealing with an image or not. $transform_string = FALSE; - // Fill a sample PDF & return. if ($sample) { + // Fill template with the PDF field names to produce a sample PDF. $fields[$obj->pdf_key] = $obj->pdf_key; // If sampling, return to the form edit page. $_GET['destination'] = "admin/structure/fillpdf/$fid";