mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Change messages class to message
This commit is contained in:
@@ -112,7 +112,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
$menu->restore();
|
||||
|
||||
//redirect the user back to the main menu
|
||||
messages::add($text['message-add']);
|
||||
message::add($text['message-add']);
|
||||
header("Location: menu.php");
|
||||
return;
|
||||
} //if ($action == "add")
|
||||
@@ -128,7 +128,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
unset($sql);
|
||||
|
||||
//redirect the user back to the main menu
|
||||
messages::add($text['message-update']);
|
||||
message::add($text['message-update']);
|
||||
header("Location: menu.php");
|
||||
return;
|
||||
} //if ($action == "update")
|
||||
|
||||
Reference in New Issue
Block a user