diff options
Diffstat (limited to 'packages/autoconfigbackup')
-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. |