summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_gateway_groups_edit.php
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-10-28 17:20:14 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-10-28 17:20:14 +0000
commit22c8741cccc56befaa3919180c3e8c4dcd72f22b (patch)
treea174157e083e13da5a3ef047169bb02408a4ff23 /usr/local/www/system_gateway_groups_edit.php
parentfbf424fb9fd2cb40bbe112eb711cefafc7bcf698 (diff)
downloadpfsense-22c8741cccc56befaa3919180c3e8c4dcd72f22b.zip
pfsense-22c8741cccc56befaa3919180c3e8c4dcd72f22b.tar.gz
Correctly load groups array
Diffstat (limited to 'usr/local/www/system_gateway_groups_edit.php')
-rwxr-xr-xusr/local/www/system_gateway_groups_edit.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/system_gateway_groups_edit.php b/usr/local/www/system_gateway_groups_edit.php
index d95d67d..9de724c 100755
--- a/usr/local/www/system_gateway_groups_edit.php
+++ b/usr/local/www/system_gateway_groups_edit.php
@@ -42,6 +42,9 @@ require("guiconfig.inc");
if (!is_array($config['gateways']['gateway_item']))
$config['gateways']['gateway_item'] = array();
+if (!is_array($config['gateways']['gateway_group']))
+ $config['gateways']['gateway_group'] = array();
+
$a_gateway_groups = &$config['gateways']['gateway_group'];
$a_gateways = &$config['gateways']['gateway_item'];
OpenPOWER on IntegriCloud