Update message_edit.php

This commit is contained in:
FusionPBX 2018-09-19 23:46:41 -04:00 committed by GitHub
parent 7169201a95
commit 5a87260f84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

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;