From 5e6e5d495fc16f1922fa5b065ff59807093d04d6 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 5 Apr 2005 00:50:45 +0000 Subject: Fix auto upgrade --- etc/inc/pfsense-utils.inc | 6 ++++-- 1 file 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']; -- cgit v1.1