Update message_edit.php

This commit is contained in:
FusionPBX
2018-09-19 23:46:41 -04:00
committed by GitHub
parent 68ceaed6fe
commit 1e7993dcc7

View File

@@ -17,7 +17,7 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2016-2018
Portions created by the Initial Developer are Copyright (C) 2018
the Initial Developer. All Rights Reserved.
Contributor(s):
@@ -133,10 +133,10 @@
//redirect the user
if (isset($action)) {
if ($action == "add") {
$_SESSION["message"] = $text['message-add'];
message::add($text['message-add']);
}
if ($action == "update") {
$_SESSION["message"] = $text['message-update'];
message::add($text['message-update']);
}
header('Location: message_edit.php?id='.$message_uuid);
return;