Music On Hold: Remove unused parameters from the recording_seek() function call.

This commit is contained in:
fusionate 2024-10-18 19:07:19 -06:00
parent bc3e032efc
commit c812dfb58b
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@
$order = $_GET["order"] ?? '';
//download music on hold file
if (!empty($_GET['action'])
if (!empty($_GET['action'])
&& $_GET['action'] == "download"
&& is_uuid($_GET['id'])
&& !empty($streams)) {
@ -566,7 +566,7 @@
case "ogg" : $stream_file_type = "audio/ogg"; break;
}
//playback progress bar
echo "<tr class='list-row' id='recording_progress_bar_".$row_uuid."' style='display: none;' onclick=\"recording_seek(event,'".escape($row_uuid)."','".urlencode($stream_file)."')\"><td id='playback_progress_bar_background_".escape($row_uuid)."' class='playback_progress_bar_background' colspan='5'><span class='playback_progress_bar' id='recording_progress_".$row_uuid."'></span></td></tr>\n";
echo "<tr class='list-row' id='recording_progress_bar_".$row_uuid."' style='display: none;' onclick=\"recording_seek(event,'".escape($row_uuid)."')\"><td id='playback_progress_bar_background_".escape($row_uuid)."' class='playback_progress_bar_background' colspan='5'><span class='playback_progress_bar' id='recording_progress_".$row_uuid."'></span></td></tr>\n";
echo "<tr class='list-row' style='display: none;'><td></td></tr>\n"; // dummy row to maintain alternating background color
$list_row_link = "javascript:recording_play('".$row_uuid."','".urlencode($stream_file)."');";
echo "<tr class='list-row' href=\"".$list_row_link."\">\n";