We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2994c2 commit aa23418Copy full SHA for aa23418
inc/bouncer-instance.php
@@ -39,7 +39,7 @@ function getDatabaseSettings(): array
39
'display_errors' => !empty(get_option('crowdsec_display_errors')),
40
// Bouncer
41
'bouncing_level' => esc_attr(get_option('crowdsec_bouncing_level'))?:Constants::BOUNCING_LEVEL_DISABLED,
42
- 'trust_ip_forward_array' => get_option('crowdsec_trust_ip_forward_array'),
+ 'trust_ip_forward_array' => get_option('crowdsec_trust_ip_forward_array')?:[],
43
'fallback_remediation' => esc_attr(get_option('crowdsec_fallback_remediation')),
44
// Cache settings
45
'stream_mode' => !empty(get_option('crowdsec_stream_mode')),
0 commit comments