mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-18 02:25:05 +00:00
(legacy) fix array check
This commit is contained in:
parent
d4a4d79a06
commit
4873aed105
@ -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'];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user