Revert the previous commit.

This commit is contained in:
Mark Crane
2014-07-17 16:52:31 +00:00
parent f48db7cf45
commit 2f763f8a78
2 changed files with 2 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ else {
$sql_where_ands[] = "start_epoch BETWEEN ".$start_epoch." AND ".$stop_epoch." ";
}
if (strlen($cdr_id) > 0) { $sql_where_ands[] = "cdr_id like '%".$cdr_id."%'"; }
if (strlen($direction) > 0) { $sql_where_ands[] = "call_direction = '".$direction."'"; }
if (strlen($direction) > 0) { $sql_where_ands[] = "direction = '".$direction."'"; }
if (strlen($caller_id_name) > 0) {
$mod_caller_id_name = str_replace("*", "%", $caller_id_name);
$sql_where_ands[] = "caller_id_name like '".$mod_caller_id_name."'";