MOH: Allow deletion of files containing spaces.
This commit is contained in:
parent
4f79a1837d
commit
d87fa6eb77
|
|
@ -541,7 +541,7 @@
|
|||
if (permission_exists('music_on_hold_delete')) {
|
||||
echo " <td class='checkbox'>\n";
|
||||
echo " <input type='checkbox' name='moh[".$row['music_on_hold_uuid']."][$x][checked]' id='checkbox_".$x."' class='checkbox_".$row['music_on_hold_uuid']."' value='true' onclick=\"if (!this.checked) { document.getElementById('checkbox_all_".$row['music_on_hold_uuid']."').checked = false; }\">\n";
|
||||
echo " <input type='hidden' name='moh[".$row['music_on_hold_uuid']."][$x][file_name]' value=\"".urlencode($stream_file)."\" />\n";
|
||||
echo " <input type='hidden' name='moh[".$row['music_on_hold_uuid']."][$x][file_name]' value=\"".escape($stream_file)."\" />\n";
|
||||
echo " </td>\n";
|
||||
}
|
||||
echo " <td class='overflow'>".escape($stream_file)."</td>\n";
|
||||
|
|
|
|||
Loading…
Reference in New Issue