summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizards
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-08-20 14:12:43 -0400
committerjim-p <jimp@pfsense.org>2010-08-20 14:13:21 -0400
commiteff77cb7c4e90f7adceb2c36e7bc8b72383b365f (patch)
tree992baf062c2ef5fb2f08eb2b954f72ad6ebf3759 /usr/local/www/wizards
parentd80a71d9f675ecdf069eae5ae13f99ea0fb204a8 (diff)
downloadpfsense-eff77cb7c4e90f7adceb2c36e7bc8b72383b365f.zip
pfsense-eff77cb7c4e90f7adceb2c36e7bc8b72383b365f.tar.gz
Fix this test, allows proper selection of CA in OpenVPN wizard.
Diffstat (limited to 'usr/local/www/wizards')
-rw-r--r--usr/local/www/wizards/openvpn_wizard.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/wizards/openvpn_wizard.inc b/usr/local/www/wizards/openvpn_wizard.inc
index 0ccae60..e4a7c8c 100644
--- a/usr/local/www/wizards/openvpn_wizard.inc
+++ b/usr/local/www/wizards/openvpn_wizard.inc
@@ -437,7 +437,7 @@ function step12_submitphpaction() {
exit;
}
- if (isset($pconfig['step6']['uselist'])) {
+ if (isset($pconfig['step6']['uselist']) && !empty($pconfig['step6']['certca'])) {
$ca = array();
$ca['refid'] = uniqid();
$ca['name'] = $pconfig['step6']['certca'];
OpenPOWER on IntegriCloud