Fixed warning of php. Tiquet: 3255

(cherry picked from commit 515c144cfa)
This commit is contained in:
m-lopez-f 2016-01-26 09:33:42 +01:00
parent ae2fcd778e
commit 8c154b5ce1
1 changed files with 181 additions and 179 deletions

View File

@ -3785,6 +3785,8 @@ function reporting_availability($report, $content) {
$max = null;
$max_text = "";
$count = 0;
if (!empty($items)) {
foreach ($items as $item) {
//aaMetaconsole connection
$server_name = $item ['server_name'];
@ -3975,7 +3977,7 @@ function reporting_availability($report, $content) {
$data = $temp;
break;
}
}
$return["data"] = $data;
$return["resume"] = array();