Update functions.lib.php
This commit is contained in:
parent
d114c56672
commit
fb5385180f
@ -6660,6 +6660,14 @@ function complete_substitutions_array(&$substitutionarray, $outputlangs, $object
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!empty($conf->global->ODT_ENABLE_ALL_TAGS_IN_SUBSTITUTIONS) {
|
||||
// to list all tags in odt template
|
||||
$tags = '';
|
||||
foreach ($substitutionarray as $key => $value) {
|
||||
$tags .= '{' . $key . '} => ' . $value ."\n";
|
||||
}
|
||||
$substitutionarray = array_merge($substitutionarray, array('__ALL_TAGS__' => $tags));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user