summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_gateways.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-12-02 12:11:11 -0200
committerRenato Botelho <garga@FreeBSD.org>2013-12-02 12:11:11 -0200
commitdde2022665cae43e51645143abd03ee01aa6a4ff (patch)
tree0bacbbd00909598752a457283f82bad2dd6c55ae /usr/local/www/system_gateways.php
parenta9be92f0fa5875c0ad95ecc5410d5949661d5284 (diff)
downloadpfsense-dde2022665cae43e51645143abd03ee01aa6a4ff.zip
pfsense-dde2022665cae43e51645143abd03ee01aa6a4ff.tar.gz
Declare missing global vars and fix gateway deletion
Diffstat (limited to 'usr/local/www/system_gateways.php')
-rwxr-xr-xusr/local/www/system_gateways.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/system_gateways.php b/usr/local/www/system_gateways.php
index e0141a5..b4129a8 100755
--- a/usr/local/www/system_gateways.php
+++ b/usr/local/www/system_gateways.php
@@ -108,6 +108,8 @@ function can_delete_gateway_item($id) {
}
function delete_gateway_item($id) {
+ global $config, $a_gateways;
+
if (!isset($a_gateways[$id]))
return;
OpenPOWER on IntegriCloud