From 49cf2ddb1344b52aecea2af084d1318a13b8403b Mon Sep 17 00:00:00 2001
From: Sascha Schmidt <s.schmidt@adito.de>
Date: Wed, 27 Oct 2021 10:57:51 +0200
Subject: [PATCH] Fix brackets (CR/MR)

---
 entity/Letter_entity/onValidation.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/entity/Letter_entity/onValidation.js b/entity/Letter_entity/onValidation.js
index 142f30cb2e..748998e9dd 100644
--- a/entity/Letter_entity/onValidation.js
+++ b/entity/Letter_entity/onValidation.js
@@ -9,9 +9,13 @@ var upload = new FileUpload(bindata);
 
 var template;
 if (upload.isFilled())
+{
     template = DocumentTemplate.fromUpload(upload);
+}
 else if (templateId)
+{
     template = DocumentTemplateUtils.getTemplate(templateId);
+}
 
 if (!bindata && !templateId)
 {
-- 
GitLab