Gestito valore hashmap null in replaceVariables

This commit is contained in:
2024-07-12 15:06:08 +02:00
parent 71f7a665c8
commit d8a9337d30

View File

@@ -321,7 +321,7 @@ public class UtilityDocx {
}
} else {
replacement = textVariables.getOrDefault(variable, "");
replacement = UtilityString.isNull(textVariables.getOrDefault(variable, ""), "");
matcher.appendReplacement(sb, replacement);
}
}