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);