mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +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:
@@ -74,8 +74,7 @@
|
||||
}
|
||||
unset($prep_statement, $row);
|
||||
if ($total_gateways >= $_SESSION['limit']['gateways']['numeric']) {
|
||||
$_SESSION['message_mood'] = 'negative';
|
||||
$_SESSION['message'] = $text['message-maximum_gateways'].' '.$_SESSION['limit']['gateways']['numeric'];
|
||||
messages::add($text['message-maximum_gateways'].' '.$_SESSION['limit']['gateways']['numeric'], 'negative');
|
||||
header('Location: gateways.php');
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user