Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
This commit is contained in:
commit
42924ccead
|
|
@ -47,7 +47,7 @@ else {
|
||||||
//get the cdr string from the database
|
//get the cdr string from the database
|
||||||
$sql = "select * from v_xml_cdr ";
|
$sql = "select * from v_xml_cdr ";
|
||||||
if ($_GET['showall'] && permission_exists('xml_cdr_all')) {
|
if ($_GET['showall'] && permission_exists('xml_cdr_all')) {
|
||||||
if ($sql_where) { $sql .= "where uuid = '$uuid' "; }
|
$sql .= "where uuid = '$uuid' ";
|
||||||
} else {
|
} else {
|
||||||
$sql .= "where uuid = '$uuid' and domain_uuid = '$domain_uuid' ";
|
$sql .= "where uuid = '$uuid' and domain_uuid = '$domain_uuid' ";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue