mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update persist_form.php
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
function persistform($form_array) {
|
||||
// Remember Form Input Values
|
||||
if (is_array($form_array)) {
|
||||
$content .= "<form method='post' action='".$_SERVER["HTTP_REFERER"]."' target='_self'>\n";
|
||||
$content .= "<form method='post' action='".escape($_SERVER["HTTP_REFERER"])."' target='_self'>\n";
|
||||
foreach ($form_array as $key => $val) {
|
||||
if ($key == "XID" || $key == "ACT" || $key == "RET") continue;
|
||||
if ($key != "persistform") { //clears the persistform value
|
||||
|
||||
Reference in New Issue
Block a user