summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_gateways.php
diff options
context:
space:
mode:
author--global <--global>2009-03-10 01:09:31 +0100
committer--global <--global>2009-03-10 01:11:12 +0100
commitb92305a60cb133ed0fdce310111d12a60527f109 (patch)
tree6cbf733c32614d2c6cea088f78e15d071c4d0452 /usr/local/www/system_gateways.php
parent2f998593cb2bbdc2f00485ef644c904012eeaebe (diff)
downloadpfsense-b92305a60cb133ed0fdce310111d12a60527f109.zip
pfsense-b92305a60cb133ed0fdce310111d12a60527f109.tar.gz
Fix deletion of gateways from the systems gateways page.
Diffstat (limited to 'usr/local/www/system_gateways.php')
-rwxr-xr-xusr/local/www/system_gateways.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/local/www/system_gateways.php b/usr/local/www/system_gateways.php
index bb3db24..3e7640e 100755
--- a/usr/local/www/system_gateways.php
+++ b/usr/local/www/system_gateways.php
@@ -39,7 +39,13 @@
require("guiconfig.inc");
+
$a_gateways = return_gateways_array();
+$a_gateways_arr = array();
+foreach($a_gateways as $gw) {
+ a_gateways_arr[] = $gw;
+}
+$a_gateways = $a_gateways_arr;
$changedesc = "Gateways: ";
if ($_POST) {
OpenPOWER on IntegriCloud