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 = null;
|
||||||
$max_text = "";
|
$max_text = "";
|
||||||
$count = 0;
|
$count = 0;
|
||||||
|
|
||||||
|
if (!empty($items)) {
|
||||||
foreach ($items as $item) {
|
foreach ($items as $item) {
|
||||||
//aaMetaconsole connection
|
//aaMetaconsole connection
|
||||||
$server_name = $item ['server_name'];
|
$server_name = $item ['server_name'];
|
||||||
|
@ -3975,7 +3977,7 @@ function reporting_availability($report, $content) {
|
||||||
$data = $temp;
|
$data = $temp;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$return["data"] = $data;
|
$return["data"] = $data;
|
||||||
$return["resume"] = array();
|
$return["resume"] = array();
|
||||||
|
|
Loading…
Reference in New Issue