diff options
author | jim-p <jimp@netgate.com> | 2019-05-03 09:29:05 -0400 |
---|---|---|
committer | jim-p <jimp@netgate.com> | 2019-05-03 09:29:25 -0400 |
commit | 89c1390a6bf98587417864476fefd8a56977ca4d (patch) | |
tree | 097af6317e886101c5a8b6ca6887d2640d34c73d /src/usr/local/www | |
parent | b8d7497859d356960c865c0019a9ef163850fbd7 (diff) | |
download | pfsense-89c1390a6bf98587417864476fefd8a56977ca4d.zip pfsense-89c1390a6bf98587417864476fefd8a56977ca4d.tar.gz |
Init array before use
(cherry picked from commit a8a0b1321d2a477772aac4d0034d819b61f2c9bf)
Diffstat (limited to 'src/usr/local/www')
-rw-r--r-- | src/usr/local/www/interfaces_qinq_edit.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/usr/local/www/interfaces_qinq_edit.php b/src/usr/local/www/interfaces_qinq_edit.php index 4314b29..8f584f0 100644 --- a/src/usr/local/www/interfaces_qinq_edit.php +++ b/src/usr/local/www/interfaces_qinq_edit.php @@ -219,6 +219,7 @@ if ($_POST['save']) { $gentry['ifname'] = "QinQ"; $gentry['members'] = "{$additions}"; $gentry['descr'] = gettext("QinQ VLANs group"); + init_config_arr(array('ifgroups', 'ifgroupentry')); $config['ifgroups']['ifgroupentry'][] = $gentry; } } |