diff options
-rw-r--r-- | etc/inc/pfsense-utils.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 9ca6a3a..38b6b03 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -983,8 +983,10 @@ function auto_upgrade() { global $config, $g; $http_auth_username = ""; $http_auth_password = ""; - if($config['system']['proxy_auth_username'] <> "") $http_auth_username = $config['system']['proxy_auth_username']; - if($config['system']['proxy_auth_password'] <> "") $http_auth_password = $config['system']['proxy_auth_password']; + if($config['system']['proxy_auth_username'] <> "") + $http_auth_username = $config['system']['proxy_auth_username']; + if($config['system']['proxy_auth_password'] <> "") + $http_auth_password = $config['system']['proxy_auth_password']; if (isset($config['system']['alt_firmware_url']['enabled'])) { $firmwareurl=$config['system']['alt_firmware_url']['firmware_base_url']; $firmwarename=$config['system']['alt_firmware_url']['firmware_filename']; |