Skip to content
Snippets Groups Projects
Commit 4048fc18 authored by Liam Morland's avatar Liam Morland
Browse files

Update comments

parent b72a20c4
No related branches found
No related tags found
No related merge requests found
...@@ -566,8 +566,8 @@ function fillpdf_merge_pdf($fid, $nids = NULL, $webform_array = NULL, $sample = ...@@ -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. // Keep track of whether we're dealing with an image or not.
$transform_string = FALSE; $transform_string = FALSE;
// Fill a sample PDF & return.
if ($sample) { if ($sample) {
// Fill template with the PDF field names to produce a sample PDF.
$fields[$obj->pdf_key] = $obj->pdf_key; $fields[$obj->pdf_key] = $obj->pdf_key;
// If sampling, return to the form edit page. // If sampling, return to the form edit page.
$_GET['destination'] = "admin/structure/fillpdf/$fid"; $_GET['destination'] = "admin/structure/fillpdf/$fid";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment