mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-05 07:29:20 +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:
@@ -66,7 +66,7 @@ else {
|
||||
$response = event_socket_request($fp, "api ".$command);
|
||||
$response = event_socket_request($fp, "api log notice ".$command);
|
||||
//show the response
|
||||
$_SESSION['message'] = $text['label-event']." ".ucwords($cmd)." ".$text['label-response'].$response;
|
||||
messages::add($text['label-event']." ".ucwords($cmd)." ".$text['label-response'].htmlentities($response));
|
||||
//close the connection
|
||||
fclose($fp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user