mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 09:03:49 +00:00
Fix. Extension summary for local calls (#2918)
This commit is contained in:
committed by
FusionPBX
parent
ebfa022a90
commit
9ee2b71ce2
@@ -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