mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Init gateway group array before use. Fixes #8876
(cherry picked from commit b54a1af45c)
This commit is contained in:
parent
577afc43b5
commit
7d80bbbede
@ -35,10 +35,7 @@ define('COLOR', true);
|
||||
|
||||
require_once("guiconfig.inc");
|
||||
|
||||
if (!is_array($config['gateways']['gateway_group'])) {
|
||||
$config['gateways']['gateway_group'] = array();
|
||||
}
|
||||
|
||||
init_config_arr(array('gateways', 'gateway_group'));
|
||||
$a_gateway_groups = &$config['gateways']['gateway_group'];
|
||||
$changedesc = gettext("Gateway Groups") . ": ";
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user