Commit 0e9d816a authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(legacy) fix array check

parent f20e3d49
......@@ -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'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment