Skip to content
Snippets Groups Projects
Commit a9dccc42 authored by Liam Morland's avatar Liam Morland Committed by Kevin Kaland
Browse files

Issue #1452366: Remove potentially irrelevant case.

parent 21d476e9
No related branches found
No related tags found
No related merge requests found
...@@ -257,13 +257,6 @@ function fillpdf_merge_pdf($fid, $nids = NULL, $webform_arr = NULL, $sample = NU ...@@ -257,13 +257,6 @@ function fillpdf_merge_pdf($fid, $nids = NULL, $webform_arr = NULL, $sample = NU
} }
$fillpdf_info->replacements = _fillpdf_replacements_to_array($fillpdf_info->replacements); $fillpdf_info->replacements = _fillpdf_replacements_to_array($fillpdf_info->replacements);
// Case 2: Only $fid -- just give them empty pdf
if (!empty($nodes) && !empty($webforms) && !is_null($sample)) {
$host = url('', array('absolute' => TRUE));
header("Location: " . $host . '/' . $fillpdf_info->url);
drupal_exit();
}
global $user; global $user;
$nodes = $webforms = array(); $nodes = $webforms = array();
......
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