Remove query string from add button link (#8003)
* Remove query string from add button link * Update bridges.php * Update conference_centers.php * Update conference_rooms.php * Update conference_controls.php * Update conference_profile_params.php * Update conference_profiles.php * Update conferences.php * Update event_guard_logs.php * Update fax.php * Update fifo.php * Update ivr_menus.php * Update phrases.php * Update recordings.php * Update ring_groups.php * Update streams.php * Update time_conditions.php * Update voicemails.php * Update contacts.php
This commit is contained in:
@@ -442,7 +442,7 @@
|
||||
echo " <div class='heading'><b>".$text['title-recordings']."</b><div class='count'>".number_format($num_rows)."</div></div>\n";
|
||||
echo " <div class='actions'>\n";
|
||||
if (permission_exists('recording_add') && $speech_enabled == 'true') {
|
||||
echo button::create(['type'=>'button','label'=>$text['button-add'],'icon'=>$theme_button_icon_add,'id'=>'btn_add','link'=>'recording_edit.php'.($query_string ? '?'.$query_string : '')]);
|
||||
echo button::create(['type'=>'button','label'=>$text['button-add'],'icon'=>$theme_button_icon_add,'id'=>'btn_add','link'=>'recording_edit.php']);
|
||||
}
|
||||
if (permission_exists('recording_upload')) {
|
||||
echo "<form id='form_upload' class='inline' method='post' enctype='multipart/form-data'>\n";
|
||||
|
||||
Reference in New Issue
Block a user