mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 19:53:56 +00:00
Enhance - Convert more messages (#2646)
convert more messages to messages class skipped dashboard messages due to them relying on $_SESSION['message'] to know if there has already been a change
This commit is contained in:
@@ -64,8 +64,7 @@
|
||||
}
|
||||
unset($prep_statement, $row);
|
||||
if ($total_destinations >= $_SESSION['limit']['destinations']['numeric']) {
|
||||
$_SESSION['message_mood'] = 'negative';
|
||||
$_SESSION['message'] = $text['message-maximum_destinations'].' '.$_SESSION['limit']['destinations']['numeric'];
|
||||
messages::add($text['message-maximum_destinations'].' '.$_SESSION['limit']['destinations']['numeric'], 'negative');
|
||||
header('Location: destinations.php');
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user