Update persist_form_var.php

This commit is contained in:
FusionPBX
2023-05-13 20:39:46 -06:00
committed by GitHub
parent a94c465759
commit 67e2d731b5

View File

@@ -26,7 +26,8 @@
function persistformvar($form_array) {
// Remember Form Input Values
if (is_array($form_array)) {
$content = '';
if (!empty($form_array)) {
$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;