diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-11-25 18:06:03 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-11-25 18:06:03 +0000 |
commit | 2b7f85d43c629d6647d11798b21006e7ca378d97 (patch) | |
tree | 6dcc2a37b04a19d9ffb72cdd06283a6256a40ac4 /usr/local/www/system_gateway_groups_edit.php | |
parent | 2655814b3cd69e6908b45d75f552d6a17fbebc91 (diff) | |
download | pfsense-2b7f85d43c629d6647d11798b21006e7ca378d97.zip pfsense-2b7f85d43c629d6647d11798b21006e7ca378d97.tar.gz |
Ensure item is an array
Diffstat (limited to 'usr/local/www/system_gateway_groups_edit.php')
-rwxr-xr-x | usr/local/www/system_gateway_groups_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_gateway_groups_edit.php b/usr/local/www/system_gateway_groups_edit.php index 1f4d39f..03a7d4d 100755 --- a/usr/local/www/system_gateway_groups_edit.php +++ b/usr/local/www/system_gateway_groups_edit.php @@ -78,7 +78,7 @@ if ($_POST) { } /* check for overlaps */ - if($a_gateway_groups) { + if(is_array($a_gateway_groups)) { foreach ($a_gateway_groups as $gateway_group) { if (isset($id) && ($a_gateway_groups[$id]) && ($a_gateway_groups[$id] === $gateway_group)) continue; |