diff --git a/app/xml_cdr/xml_cdr.php b/app/xml_cdr/xml_cdr.php index d3880e22be..f49d569f4e 100644 --- a/app/xml_cdr/xml_cdr.php +++ b/app/xml_cdr/xml_cdr.php @@ -824,7 +824,7 @@ $content = ''; } //show agent originated legs only to those with the permission - if (!permission_exists('xml_cdr_cc_agent_side') && $row['cc_side'] == "agent") { + if (!permission_exists('xml_cdr_cc_agent_leg') && $row['cc_side'] == "agent") { $content = ''; } //show the leg b only to those with the permission