mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Fix. Extension summary for local calls (#2918)
This commit is contained in:
committed by
FusionPBX
parent
cc364e9bb2
commit
cc22f35e74
@@ -870,7 +870,7 @@ if (!class_exists('xml_cdr')) {
|
||||
$sql .= " OR \n";
|
||||
$sql .= " c.destination_number = e.number_alias))) \n";
|
||||
if ($this->include_internal) {
|
||||
$sql .= " AND (direction = 'inbound' OR 'direction = 'outbound') \n";
|
||||
$sql .= " AND (direction = 'inbound' OR direction = 'outbound') \n";
|
||||
}
|
||||
$sql .= " ) / \n";
|
||||
$sql .= "COUNT(*) \n";
|
||||
@@ -886,7 +886,7 @@ if (!class_exists('xml_cdr')) {
|
||||
$sql .= " OR \n";
|
||||
$sql .= " c.destination_number = e.number_alias))) \n";
|
||||
if ($this->include_internal) {
|
||||
$sql .= " AND (direction = 'inbound' OR 'direction = 'outbound') \n";
|
||||
$sql .= " AND (direction = 'inbound' OR direction = 'outbound') \n";
|
||||
}
|
||||
$sql .= " ) AS aloc, \n";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user