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;