Project

General

Profile

Actions

Bug #3864

closed

/diag_dump_states.php has duplicate <form> element

Added by Trevor Peacock about 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
Web Interface
Target version:
Start date:
09/15/2014
Due date:
% Done:

100%

Estimated time:
1.00 h
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:
All

Description

I believe line 74 of /usr/local/www/diag_dump_states.php should be removed:

- <form action="diag_dump_states.php" method="get" name="iform">

and line 134 modified to add the name attribute
-                         <form action="<?=$_SERVER['SCRIPT_NAME'];?>" method="get">
+                         <form action="<?=$_SERVER['SCRIPT_NAME'];?>" method="get" name="iform">

I've tested this briefly on my own installation (2.1.5-RELEASE (amd64) built on Mon Aug 25 07:44:45 EDT 2014). The form, filter and kill functions behave as expected.

Actions

Also available in: Atom PDF