summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-04-21 21:15:55 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-04-21 21:15:55 +0000
commit5c379f6f0f9e9aac647040fd6fb645b4d5948634 (patch)
treef76c975fa1143f5ef8339fb838379f24e052bd15
parent9c22315353486a374f299f6232eb1a99712f7aaf (diff)
downloadpfsense-5c379f6f0f9e9aac647040fd6fb645b4d5948634.zip
pfsense-5c379f6f0f9e9aac647040fd6fb645b4d5948634.tar.gz
Use the correct array path to deterimine if a false entry exists.
-rw-r--r--usr/local/pkg/openvpn.xml2
-rw-r--r--usr/local/pkg/openvpn_cli.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/pkg/openvpn.xml b/usr/local/pkg/openvpn.xml
index e73e722..2ecf249 100644
--- a/usr/local/pkg/openvpn.xml
+++ b/usr/local/pkg/openvpn.xml
@@ -212,7 +212,7 @@
</field>
</fields>
<custom_php_command_before_form>
- if(!$config['installedpackages']['openvpnserver'][0]['protocol'])
+ if(!$config['installedpackages']['openvpnserver'][config][0]['protocol'])
unset($evaledvar);
openvpn_get_ciphers(&amp;$pkg);
</custom_php_command_before_form>
diff --git a/usr/local/pkg/openvpn_cli.xml b/usr/local/pkg/openvpn_cli.xml
index 450ad0a..fd4b03e 100644
--- a/usr/local/pkg/openvpn_cli.xml
+++ b/usr/local/pkg/openvpn_cli.xml
@@ -194,7 +194,7 @@
</field>
</fields>
<custom_php_command_before_form>
- if(!$config['installedpackages']['openvpnclient'][0]['protocol'])
+ if(!$config['installedpackages']['openvpnclient'][config][0]['protocol'])
unset($evaledvar);
openvpn_get_ciphers(&amp;$pkg);
</custom_php_command_before_form>
OpenPOWER on IntegriCloud