From 4873aed1057570404e428464bbdaad6960113c0d Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Fri, 24 Jul 2015 09:05:01 +0000 Subject: [PATCH] (legacy) fix array check --- src/www/vpn_pppoe_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'];