summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/page.inc.php
diff options
context:
space:
mode:
authorUdo Walter2017-09-28 16:54:42 +0200
committerUdo Walter2017-09-28 16:54:42 +0200
commit9c5887928eb087fbc63744142b3bfd6af68e0cea (patch)
treea96dfaee71d87f8617b75a3e307f925212e3c178 /modules-available/statistics/page.inc.php
parent[systemstatus] bugfix (diff)
downloadslx-admin-9c5887928eb087fbc63744142b3bfd6af68e0cea.tar.gz
slx-admin-9c5887928eb087fbc63744142b3bfd6af68e0cea.tar.xz
slx-admin-9c5887928eb087fbc63744142b3bfd6af68e0cea.zip
[statistics] fixed inconsistencies
Diffstat (limited to 'modules-available/statistics/page.inc.php')
-rw-r--r--modules-available/statistics/page.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules-available/statistics/page.inc.php b/modules-available/statistics/page.inc.php
index 2b12c69f..810d624e 100644
--- a/modules-available/statistics/page.inc.php
+++ b/modules-available/statistics/page.inc.php
@@ -533,6 +533,7 @@ class Page_Statistics extends Page
if (empty($row['hostname'])) {
$row['hostname'] = $row['clientip'];
}
+ $row['firstseen_int'] = $row['firstseen'];
$row['firstseen'] = date('d.m. H:i', $row['firstseen']);
$row['gbram'] = round(round($row['mbram'] / 500) / 2, 1); // Trial and error until we got "expected" rounding..
$row['gbtmp'] = round($row['id44mb'] / 1024);
@@ -574,6 +575,7 @@ class Page_Statistics extends Page
$row['state_occupied'] = true;
}
//$row['firstseen'] = date('d.m.Y H:i', $row['firstseen']);
+ $row['lastseen_int'] = $row['lastseen'];
$row['lastseen'] = date('d.m. H:i', $row['lastseen']);
//$row['lastboot'] = date('d.m. H:i', $row['lastboot']);
$row['gbram'] = round(round($row['mbram'] / 500) / 2, 1); // Trial and error until we got "expected" rounding..