From 4048fc18ad07ef7e14e69bb59a6c7e59c933851b Mon Sep 17 00:00:00 2001
From: Liam Morland <lkmorlan@uwaterloo.ca>
Date: Fri, 24 May 2019 14:46:28 -0400
Subject: [PATCH] Update comments

---
 fillpdf.module | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fillpdf.module b/fillpdf.module
index 34589d5..22d0b5f 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";
-- 
GitLab