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 d9210da83d
commit 5b95fcfca0
1 changed files with 2 additions and 1 deletions

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