Skip to content
Snippets Groups Projects
Commit 7484fd71 authored by lkmorlan's avatar lkmorlan Committed by Liam Morland
Browse files

Issue #2962458 by Liam Morland: Refactor fillpdf_pdf_link()

parent 01562c92
No related branches found
No related tags found
No related merge requests found
......@@ -306,7 +306,10 @@ function fillpdf_pdf_link($fid, $nids = NULL, array $webform_arr = NULL, $sample
$sample = $sample ? '&sample=true' : '';
// @todo: Refactor to use real url() syntax once tests in place
return url('', array('absolute' => TRUE)) . "fillpdf?fid={$fid}{$nids_uri}{$webforms_uri}{$uc_orders_uri}{$uc_order_products_uri}{$entity_ids_uri}{$sample}";
$options = array(
'absolute' => TRUE,
);
return url('', $options) . "fillpdf?fid={$fid}{$nids_uri}{$webforms_uri}{$uc_orders_uri}{$uc_order_products_uri}{$entity_ids_uri}{$sample}";
}
/**
......
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