aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_interfaces_edit.php
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-02-22 00:33:26 -0500
committerbmeeks8 <bmeeks8@bellsouth.net>2014-02-22 00:33:26 -0500
commitde040922497c3ff0f1a77451063de25b3b579393 (patch)
tree77303959a2ec4340393d40db7cb8dee9485c35a3 /config/suricata/suricata_interfaces_edit.php
parent4d68da5d12cc272337f38d338913f66a8c703898 (diff)
downloadpfsense-packages-de040922497c3ff0f1a77451063de25b3b579393.tar.gz
pfsense-packages-de040922497c3ff0f1a77451063de25b3b579393.tar.bz2
pfsense-packages-de040922497c3ff0f1a77451063de25b3b579393.zip
Continue change of $_GET to $_POST wherever possible.
Diffstat (limited to 'config/suricata/suricata_interfaces_edit.php')
-rw-r--r--config/suricata/suricata_interfaces_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/suricata/suricata_interfaces_edit.php b/config/suricata/suricata_interfaces_edit.php
index b1e05f99..20deb885 100644
--- a/config/suricata/suricata_interfaces_edit.php
+++ b/config/suricata/suricata_interfaces_edit.php
@@ -40,7 +40,7 @@ if (!is_array($config['installedpackages']['suricata']['rule']))
$config['installedpackages']['suricata']['rule'] = array();
$a_rule = &$config['installedpackages']['suricata']['rule'];
-if ($_GET['id'] && is_numeric($_POST['id']));
+if ($_GET['id'] && is_numeric($_GET['id']));
$id = htmlspecialchars($_GET['id'], ENT_QUOTES | ENT_HTML401);
if ($_POST['id'] && is_numeric($_POST['id']))
$id = $_POST['id'];