diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-04-21 21:15:55 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-04-21 21:15:55 +0000 |
commit | 5c379f6f0f9e9aac647040fd6fb645b4d5948634 (patch) | |
tree | f76c975fa1143f5ef8339fb838379f24e052bd15 /usr/local | |
parent | 9c22315353486a374f299f6232eb1a99712f7aaf (diff) | |
download | pfsense-5c379f6f0f9e9aac647040fd6fb645b4d5948634.zip pfsense-5c379f6f0f9e9aac647040fd6fb645b4d5948634.tar.gz |
Use the correct array path to deterimine if a false entry exists.
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/pkg/openvpn.xml | 2 | ||||
-rw-r--r-- | usr/local/pkg/openvpn_cli.xml | 2 |
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(&$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(&$pkg); </custom_php_command_before_form> |