From 135f9611dfead102856d5f4094ca11b2a0b588e7 Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Sat, 26 Aug 2023 23:45:43 +0100 Subject: [PATCH] hometext fix --- src/main/java/stirling/software/SPDF/config/AppConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/stirling/software/SPDF/config/AppConfig.java b/src/main/java/stirling/software/SPDF/config/AppConfig.java index 9715128e..9645c820 100644 --- a/src/main/java/stirling/software/SPDF/config/AppConfig.java +++ b/src/main/java/stirling/software/SPDF/config/AppConfig.java @@ -36,7 +36,7 @@ public class AppConfig { @Bean(name = "homeText") public String homeText() { - return applicationProperties.getUi().getHomeDescription(); + return (applicationProperties.getUi().getHomeDescription() != null) ? applicationProperties.getUi().getHomeDescription() : "null"; }