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

This commit is contained in:
Alexey Melnichuk
2017-11-20 13:58:35 -07:00
committed by FusionPBX
parent 8be1a00ef2
commit d707c966fe
+2 -1
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