diff --git a/src/main/java/stirling/software/SPDF/service/PostHogService.java b/src/main/java/stirling/software/SPDF/service/PostHogService.java index 381bb014..25d88335 100644 --- a/src/main/java/stirling/software/SPDF/service/PostHogService.java +++ b/src/main/java/stirling/software/SPDF/service/PostHogService.java @@ -43,7 +43,7 @@ public class PostHogService { } private void captureSystemInfo() { - if (!Boolean.getBoolean(applicationProperties.getSystem().getEnableAnalytics())) { + if (!Boolean.parseBoolean(applicationProperties.getSystem().getEnableAnalytics())) { return; } try {