diff --git a/fillpdf.module b/fillpdf.module index f62eec6c1287db2cab46b3b3c5e905a1e60bf9d7..315936fd59debb0a2a5fc1561dfae2fb7beeb9d2 100644 --- a/fillpdf.module +++ b/fillpdf.module @@ -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}"; } /**