diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-10-12 00:32:18 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-10-12 00:32:18 +0000 |
commit | 0a7977a829ed5dd194603e9bd046fd2970df89e1 (patch) | |
tree | c6c4d2e492dbf3d59f3bb6e5d3df769ba2e21997 /packages | |
parent | d29eeb16541f0355098d8bc1ef15e3477d21393e (diff) | |
download | pfsense-packages-0a7977a829ed5dd194603e9bd046fd2970df89e1.tar.gz pfsense-packages-0a7977a829ed5dd194603e9bd046fd2970df89e1.tar.bz2 pfsense-packages-0a7977a829ed5dd194603e9bd046fd2970df89e1.zip |
use input_errors when there are issues connecting during test
Diffstat (limited to 'packages')
-rw-r--r-- | packages/autoconfigbackup/autoconfigbackup.inc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup.inc b/packages/autoconfigbackup/autoconfigbackup.inc index 0808009a..271ca68f 100644 --- a/packages/autoconfigbackup/autoconfigbackup.inc +++ b/packages/autoconfigbackup/autoconfigbackup.inc @@ -38,10 +38,8 @@ function custom_php_validation_command($post, $input_errors) { if($post['testconnection']) { $status = test_connection($post); - if(!$status) + if($status) $savemsg = "Connection to portal.pfsense.org was tested with no errors."; - else - $savemsg = "There was a problem connecting to portal.pfsense.org."; } // We do not need to store this value. |