Change messages class to message

This commit is contained in:
markjcrane
2018-08-31 03:09:01 +00:00
parent 70ed586a82
commit a72f1d6266
203 changed files with 321 additions and 321 deletions
+2 -2
View File
@@ -656,7 +656,7 @@ function fax_split_dtmf(&$fax_number, &$fax_dtmf){
else {
if (!$included) {
//nothing to send, redirect the browser
messages::add($text['message-invalid-fax'], 'negative');
message::add($text['message-invalid-fax'], 'negative');
header("Location: fax_send.php?id=".$fax_uuid);
exit;
}
@@ -806,7 +806,7 @@ function fax_split_dtmf(&$fax_number, &$fax_dtmf){
if (!$included) {
//redirect the browser
messages::add($response, 'default');
message::add($response, 'default');
if (permission_exists('fax_active_view')) {
header("Location: fax_active.php?id=".$fax_uuid);
}