diff --git a/src/www/vpn_pppoe_edit.php b/src/www/vpn_pppoe_edit.php index f547e6af3..c04831412 100644 --- a/src/www/vpn_pppoe_edit.php +++ b/src/www/vpn_pppoe_edit.php @@ -50,7 +50,7 @@ function vpn_pppoe_get_id() return $vpnid; } -if (!is_array($config['pppoes']['pppoe'])) { +if (!isset($config['pppoes']['pppoe'])) { $config['pppoes']['pppoe'] = array(); } $a_pppoes = &$config['pppoes']['pppoe'];