Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
reporting fix #3842
Browse files Browse the repository at this point in the history
  • Loading branch information
bsauveton committed Oct 21, 2015
1 parent 29f58f9 commit 0c6d0ca
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions www/include/eventLogs/GetXmlLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -492,10 +492,13 @@
if ($str_unitH != "" && $str_unitSVC != "") {
$str_unitSVC = " OR " . $str_unitSVC;
}
}
if ($str_unitH != "" || $str_unitSVC != "") {
$req .= " AND (".$str_unitH.$str_unitSVC.")";
}
if ($str_unitH != "" || $str_unitSVC != "") {
$req .= " AND (".$str_unitH.$str_unitSVC.")";
}
} else {
$req .= "AND 0 ";
}


$req .= $host_search_sql . $service_search_sql;

Expand Down

0 comments on commit 0c6d0ca

Please sign in to comment.