diff options
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/vpn_ipsec_keys.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/vpn_ipsec_keys.php b/usr/local/www/vpn_ipsec_keys.php index 5a5f914..17a7549 100644 --- a/usr/local/www/vpn_ipsec_keys.php +++ b/usr/local/www/vpn_ipsec_keys.php @@ -48,7 +48,7 @@ $a_secret = &$config['ipsec']['mobilekey']; $userkeys = array(); foreach ($config['system']['user'] as $id => $user) { - if (isset($user['ipsecpsk'])) { + if (!empty($user['ipsecpsk'])) { $k = array(); $k["ident"] = $user['name']; $k["pre-shared-key"] = $user['ipsecpsk']; |