From 5a87260f840eaf86a720a49f250dc95adf0ceccc Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 19 Sep 2018 23:46:41 -0400 Subject: [PATCH] Update message_edit.php --- app/messages/message_edit.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/messages/message_edit.php b/app/messages/message_edit.php index b6c36235d7..fd905b309e 100644 --- a/app/messages/message_edit.php +++ b/app/messages/message_edit.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - 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;