Skip to content
Snippets Groups Projects
Commit 3b1a368c authored by Kevin Kaland's avatar Kevin Kaland
Browse files

Issue #708796: Port multiple-source replacement fix.

parent ff168668
No related branches found
No related tags found
No related merge requests found
......@@ -297,7 +297,7 @@ function fillpdf_merge_pdf($fid, $nids = null, $webform_arr = null, $sample = nu
if (!empty($nodes)) {
foreach ($nodes as $node) {
$token = token_replace($obj->value, array('node' => $node));
if ($token) {
if ($token && $token != $obj->value) {
$token_objects['node'] = $node;
break;
}
......
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