Skip to content

Commit dbd430b

Browse files
committed
Merge remote-tracking branch 'origin/fix_invalid_api_token' into fix_invalid_api_token
2 parents f87acba + efd092e commit dbd430b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Admin/Module.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public function maybe_enable_proxy( $settings, $old_settings ) {
199199
/**
200200
* No need to run this on each update run, or when the proxy is disabled.
201201
*/
202-
$settings_proxy = ( is_array( $settings ) && isset( $settings['proxy_enabled'] ) ) ? $settings['proxy_enabled'] : ( $settings['proxy_enabled'] ?? '' );
202+
$settings_proxy = ( is_array( $settings ) && isset( $settings['proxy_enabled'] ) ) ? $settings['proxy_enabled'] : '';
203203
$old_proxy = ( is_array( $old_settings ) && isset( $old_settings['proxy_enabled'] ) ) ? $old_settings['proxy_enabled'] : '';
204204

205205
if ( empty( $settings_proxy ) || ( $settings_proxy === 'on' && $old_proxy === 'on' ) ) {

0 commit comments

Comments
 (0)