mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 03:33:49 +00:00
Enhance - More messages::add updates (#2662)
convert more messages over to messsagse::add
This commit is contained in:
@@ -319,10 +319,10 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
|
||||
//redirect the browser
|
||||
if ($action == "update") {
|
||||
$_SESSION["message"] = $text['message-update'];
|
||||
messages::add($text['message-update']);
|
||||
}
|
||||
if ($action == "add") {
|
||||
$_SESSION["message"] = $text['message-add'];
|
||||
messages::add($text['message-add']);
|
||||
}
|
||||
header("Location: user_edit.php?id=".$user_uuid);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user