Skip to content

Commit

Permalink
Merge pull request #118 from Onlineberatung/develop
Browse files Browse the repository at this point in the history
merge from OS
  • Loading branch information
tkuzynow authored Jan 29, 2024
2 parents 6a1e923 + 8e346ec commit a66d676
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ protected String getRenderedAgencySpecificPrivacy(Agency agency) {
RestrictedTenantDTO tenantDataHoldingFeatureToggles = getTenantDataRelevantForFeatureToggles(
agency);
Settings settings = tenantDataHoldingFeatureToggles != null ? tenantDataHoldingFeatureToggles.getSettings() : null;
if (settings != null && settings.getFeatureCentralDataProtectionTemplateEnabled()) {
if (settings != null && settings.getFeatureCentralDataProtectionTemplateEnabled() != null && Boolean.TRUE.equals(settings.getFeatureCentralDataProtectionTemplateEnabled())) {
return centralDataProtectionTemplateService.renderPrivacyTemplateWithRenderedPlaceholderValues(
agency);
} else {
Expand Down

0 comments on commit a66d676

Please sign in to comment.