Allow replacing of own wkhtmltopdf tokens before call to token_replace() function
This commit is contained in:
parent
80b805f07d
commit
10a6993b7b
1 changed files with 1 additions and 1 deletions
|
@ -388,7 +388,7 @@ function _print_pdf_wkhtmltopdf($print, $html, $filename = NULL) {
|
|||
$dpi = 96;
|
||||
|
||||
if (function_exists('token_eplace') && !empty($print_pdf_wkhtmltopdf_options)) {
|
||||
$print_pdf_wkhtmltopdf_options = token_replace($print_pdf_wkhtmltopdf_options, 'node', $print['node'], TOKEN_PREFIX, TOKEN_SUFFIX, array('clear' => TRUE));
|
||||
$print_pdf_wkhtmltopdf_options = token_replace($print_pdf_wkhtmltopdf_options, 'node', $print['node'], TOKEN_PREFIX, TOKEN_SUFFIX, array('clear' => FALSE));
|
||||
}
|
||||
|
||||
$version = _print_pdf_wkhtmltopdf_version();
|
||||
|
|
Reference in a new issue