Fix. Display statistic for all domains (showall=true) (#2915)

This commit is contained in:
Alexey Melnichuk
2017-11-20 23:58:35 +03:00
committed by FusionPBX
parent 8be1a00ef2
commit d707c966fe

View File

@@ -233,9 +233,10 @@ else {
}
}
$sql_where = ' where ';
// concatenate the 'ands's array, add to where clause
if (sizeof($sql_where_ands) > 0) {
$sql_where = " where ".implode(" and ", $sql_where_ands)." and ";
$sql_where .= implode(" and ", $sql_where_ands)." and ";
}
//calculate the seconds in different time frames