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:
@@ -142,7 +142,7 @@
|
||||
move_uploaded_file($_FILES['ulfile']['tmp_name'], $_SESSION['switch']['recordings']['dir'].'/'.$_SESSION['domain_name'].'/'.$recording_filename);
|
||||
|
||||
//set the message
|
||||
$_SESSION['message'] = $text['message-uploaded'].": ".htmlentities($recording_filename);
|
||||
messages::add($text['message-uploaded'].": ".htmlentities($recording_filename));
|
||||
|
||||
//set the file name to be inserted as the recording description
|
||||
$recording_description = base64_encode($_FILES['ulfile']['name']);
|
||||
|
||||
Reference in New Issue
Block a user