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

Issue #1612270: Avoid breaking backwards compatibility.

parent 00c3661d
No related branches found
No related tags found
No related merge requests found
......@@ -810,6 +810,13 @@ function fillpdf_update_field(&$pdf_form, &$field, $old_key) {
}
function _fillpdf_admin_token_form() {
$token_types = array('node', 'webform-tokens', 'submission');
// If not using Webform Rules, then show potential Webform Tokens
// webform:-namespaced tokens.
if (module_exists('webform_rules') === FALSE) {
$token_types[] = 'webform';
}
return array(
'#theme' => 'token_tree',
'#token_types' => array('node', 'webform-tokens', 'submission'),
......
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