Catch up with php limits.

This commit is contained in:
Ermal 2010-06-07 21:24:37 +00:00
parent de42da413f
commit 9ae7d46f5d

View File

@ -256,8 +256,8 @@ function return_gateways_status() {
$target = $info[0];
$status[$target]['name'] = $info[1];
$status[$target]['lastcheck'] = $info[4] ? date('r', $info[4]) : date('r');
$status[$target]['delay'] = empty(trim($info[5])) ? 0 : $info[5];
$status[$target]['loss'] = empty(trim($info[6])) ? 0.0 : $info[6];
$status[$target]['delay'] = empty($info[5]) ? 0 : $info[5];
$status[$target]['loss'] = empty($info[6]) ? 0.0 : $info[6];
$status[$target]['status'] = trim($info[7]);
}
return($status);