diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index e6a854405fd..08c137c1b4a 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -6660,7 +6660,7 @@ function complete_substitutions_array(&$substitutionarray, $outputlangs, $object } } } - if (!empty($conf->global->ODT_ENABLE_ALL_TAGS_IN_SUBSTITUTIONS) { + if (!empty($conf->global->ODT_ENABLE_ALL_TAGS_IN_SUBSTITUTIONS)) { // to list all tags in odt template $tags = ''; foreach ($substitutionarray as $key => $value) {