From 9ae7d46f5dc6d6e27cb0fd21a3ecd82d1dcd7593 Mon Sep 17 00:00:00 2001 From: Ermal Date: Mon, 7 Jun 2010 21:24:37 +0000 Subject: [PATCH] Catch up with php limits. --- etc/inc/gwlb.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc index 0f09f8c66a..54ab350491 100644 --- a/etc/inc/gwlb.inc +++ b/etc/inc/gwlb.inc @@ -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);