Update xml_cdr.php

This commit is contained in:
FusionPBX 2019-10-22 09:53:36 -06:00 committed by GitHub
parent f07508da8c
commit 31180e7afb
1 changed files with 2 additions and 2 deletions

View File

@ -145,7 +145,7 @@
echo " <input type='hidden' name='order_by' value='".escape($order_by)."'>\n";
echo " <input type='hidden' name='order' value='".escape($order)."'>\n";
}
if (permission_exists('bridge_delete')) {
if (permission_exists('xml_cdr_delete')) {
echo button::create(['type'=>'button','label'=>$text['button-delete'],'icon'=>$_SESSION['theme']['button_icon_delete'],'onclick'=>"if (confirm('".$text['confirm-delete']."')) { list_action_set('delete'); list_form_submit('form_list'); } else { this.blur(); return false; }"]);
}
if (permission_exists('xml_cdr_all')) {
@ -847,4 +847,4 @@
//show the footer
require_once "resources/footer.php";
?>
?>