summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-09-17 10:34:14 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-09-17 10:34:14 -0300
commitcc265e2e59e0f2ce874d5446e1fa49cdaaae1cfb (patch)
tree99a166f6e2bc8bef802d4ba937948e71cf831a31
parente5d2c6605bae9a7bf37f8ac06d7fbc8af84f7a0f (diff)
downloadpfsense-cc265e2e59e0f2ce874d5446e1fa49cdaaae1cfb.zip
pfsense-cc265e2e59e0f2ce874d5446e1fa49cdaaae1cfb.tar.gz
Deduplicate <form>, fixes #3864
-rwxr-xr-xusr/local/www/diag_dump_states.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/local/www/diag_dump_states.php b/usr/local/www/diag_dump_states.php
index a282fdc..87f9c3c 100755
--- a/usr/local/www/diag_dump_states.php
+++ b/usr/local/www/diag_dump_states.php
@@ -71,7 +71,6 @@ include("head.inc");
<body link="#0000CC" vlink="#0000CC" alink="#0000CC" onload="<?=$jsevents["body"]["onload"];?>">
<?php include("fbegin.inc"); ?>
-<form action="diag_dump_states.php" method="get" name="iform">
<script type="text/javascript">
function removeState(srcip, dstip) {
@@ -129,7 +128,7 @@ include("head.inc");
<table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
- <form action="<?=$_SERVER['SCRIPT_NAME'];?>" method="get">
+ <form action="<?=$_SERVER['SCRIPT_NAME'];?>" method="get" name="iform">
<table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
OpenPOWER on IntegriCloud