From 81613d75ef24f8de971c0704e3c9e770843fc826 Mon Sep 17 00:00:00 2001 From: Lucas Date: Tue, 16 Apr 2024 17:55:42 -0300 Subject: [PATCH] AL-4166 --- pom.xml | 2 +- .../ventaboletos/utilerias/ApplicationProperties.java | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index d9aebf941..8734f91f3 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 br.com.rjconsultores ModelWeb - 1.45.0 + 1.45.1 diff --git a/src/com/rjconsultores/ventaboletos/utilerias/ApplicationProperties.java b/src/com/rjconsultores/ventaboletos/utilerias/ApplicationProperties.java index 394786b9c..e44b9c8be 100644 --- a/src/com/rjconsultores/ventaboletos/utilerias/ApplicationProperties.java +++ b/src/com/rjconsultores/ventaboletos/utilerias/ApplicationProperties.java @@ -82,7 +82,9 @@ public class ApplicationProperties { Custom custom = new Custom(); custom.setChave(customEnum.toString()); - custom.setValor(p.getProperty(customEnum.toString())); + custom.setValor(StringUtils.isNotBlank(p.getProperty(customEnum.toString())) + ? p.getProperty(customEnum.toString()) + : "false"); custom.setSistema(Custom.TIPO_SISTEMA_ADM); customService.suscribir(custom);