From e34c39694cb8d102e1e1a5b539fea1fe5f91bbed Mon Sep 17 00:00:00 2001 From: Robert Anderson <randerson@lbsd.net> Date: Thu, 15 Jul 2010 09:14:48 +0000 Subject: [PATCH] Fixed spelling mistake --- webgui/include/ajax/functions/AdminUserLogs.php | 4 ++-- webgui/include/ajax/functions/WiSPUserLogs.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/webgui/include/ajax/functions/AdminUserLogs.php b/webgui/include/ajax/functions/AdminUserLogs.php index 7ebab2ea..30159a92 100644 --- a/webgui/include/ajax/functions/AdminUserLogs.php +++ b/webgui/include/ajax/functions/AdminUserLogs.php @@ -267,7 +267,7 @@ function getAdminUserLogsSummary($params) { $resultArray['AllTrafficTopups'][$t]['ValidTo'] = $topupItem['ValidTo']; $t++; - $resultArray['trafficTopups'] += isset($topupItem['CurrentLimit']) ? $topupITem['CurrentLimit'] : $topupItem['Limit']; + $resultArray['trafficTopups'] += isset($topupItem['CurrentLimit']) ? $topupItem['CurrentLimit'] : $topupItem['Limit']; $resultArray['TotalTrafficTopups'] += $topupItem['Limit']; # Subtract this topup from excessTraffic usage @@ -334,7 +334,7 @@ function getAdminUserLogsSummary($params) { $resultArray['AllUptimeTopups'][$u]['ValidTo'] = $topupItem['ValidTo']; $u++; - $resultArray['uptimeTopups'] += isset($topupItem['CurrentLimit']) ? $topupITem['CurrentLimit'] : $topupItem['Limit']; + $resultArray['uptimeTopups'] += isset($topupItem['CurrentLimit']) ? $topupItem['CurrentLimit'] : $topupItem['Limit']; $resultArray['TotalUptimeTopups'] += $topupItem['Limit']; # Subtract this topup from excessUptime usage diff --git a/webgui/include/ajax/functions/WiSPUserLogs.php b/webgui/include/ajax/functions/WiSPUserLogs.php index 9ecbff6b..50f98ec3 100644 --- a/webgui/include/ajax/functions/WiSPUserLogs.php +++ b/webgui/include/ajax/functions/WiSPUserLogs.php @@ -267,7 +267,7 @@ function getWiSPUserLogsSummary($params) { $resultArray['AllTrafficTopups'][$t]['ValidTo'] = $topupItem['ValidTo']; $t++; - $resultArray['trafficTopups'] += isset($topupItem['CurrentLimit']) ? $topupITem['CurrentLimit'] : $topupItem['Limit']; + $resultArray['trafficTopups'] += isset($topupItem['CurrentLimit']) ? $topupItem['CurrentLimit'] : $topupItem['Limit']; $resultArray['TotalTrafficTopups'] += $topupItem['Limit']; # Subtract this topup from excessTraffic usage @@ -334,7 +334,7 @@ function getWiSPUserLogsSummary($params) { $resultArray['AllUptimeTopups'][$u]['ValidTo'] = $topupItem['ValidTo']; $u++; - $resultArray['uptimeTopups'] += isset($topupItem['CurrentLimit']) ? $topupITem['CurrentLimit'] : $topupItem['Limit']; + $resultArray['uptimeTopups'] += isset($topupItem['CurrentLimit']) ? $topupItem['CurrentLimit'] : $topupItem['Limit']; $resultArray['TotalUptimeTopups'] += $topupItem['Limit']; # Subtract this topup from excessUptime usage -- GitLab