Update user_setting_edit.php

This commit is contained in:
FusionPBX 2019-05-20 08:37:03 -06:00 committed by GitHub
parent ad85b09984
commit 700e8996a2
1 changed files with 2 additions and 2 deletions

View File

@ -324,7 +324,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
if ($action == "add") { if ($action == "add") {
message::add($text['message-add']); message::add($text['message-add']);
} }
header("Location: user_edit.php?id=".$user_uuid); header("Location: /core/users/user_edit.php?id=".$user_uuid);
return; return;
} //if ($_POST["persistformvar"] != "true") } //if ($_POST["persistformvar"] != "true")
} //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) } //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0)
@ -373,7 +373,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
} }
echo "</b></td>\n"; echo "</b></td>\n";
echo "<td width='70%' align='right' valign='top'>"; echo "<td width='70%' align='right' valign='top'>";
echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='user_edit.php?id=".escape($user_uuid)."'\" value='".$text['button-back']."'>"; echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='/core/users/user_edit.php?id=".escape($user_uuid)."'\" value='".$text['button-back']."'>";
echo " <input type='button' class='btn' value='".$text['button-save']."' onclick='submit_form();'>\n"; echo " <input type='button' class='btn' value='".$text['button-save']."' onclick='submit_form();'>\n";
echo "</td>\n"; echo "</td>\n";
echo "</tr>\n"; echo "</tr>\n";