(legacy) fix array check

This commit is contained in:
Ad Schellevis 2015-07-24 09:05:01 +00:00
parent d4a4d79a06
commit 4873aed105

View File

@ -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'];