diff options
author | Simon Rettberg | 2017-03-29 13:17:18 +0200 |
---|---|---|
committer | Simon Rettberg | 2017-03-29 13:17:18 +0200 |
commit | 70487200af1582c9b5e59e9eb644dc5c9ddb0812 (patch) | |
tree | 1b46246553e15531fa2c025cabd1f61ab37d54fa /modules-available/statistics/page.inc.php | |
parent | [webinterface] Make line reporting current setting more visible (diff) | |
download | slx-admin-70487200af1582c9b5e59e9eb644dc5c9ddb0812.tar.gz slx-admin-70487200af1582c9b5e59e9eb644dc5c9ddb0812.tar.xz slx-admin-70487200af1582c9b5e59e9eb644dc5c9ddb0812.zip |
[statistics] Fetch client log by UUID, not IP
Diffstat (limited to 'modules-available/statistics/page.inc.php')
-rw-r--r-- | modules-available/statistics/page.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/statistics/page.inc.php b/modules-available/statistics/page.inc.php index 6a9acd14..87c8e7c4 100644 --- a/modules-available/statistics/page.inc.php +++ b/modules-available/statistics/page.inc.php @@ -806,7 +806,7 @@ class Page_Statistics extends Page // Client log if (Module::get('syslog') !== false) { $lres = Database::simpleQuery('SELECT logid, dateline, logtypeid, clientip, description, extra FROM clientlog' - . ' WHERE clientip = :clientip ORDER BY logid DESC LIMIT 25', array('clientip' => $client['clientip'])); + . ' WHERE machineuuid = :uuid ORDER BY logid DESC LIMIT 25', array('uuid' => $client['machineuuid'])); $today = date('d.m.Y'); $yesterday = date('d.m.Y', time() - 86400); $count = 0; |