Fixed warning of php. Tiquet: 3255
(cherry picked from commit 515c144cfa
)
This commit is contained in:
parent
ae2fcd778e
commit
8c154b5ce1
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue