summaryrefslogtreecommitdiffstats
path: root/modules-available/syslog/page.inc.php
diff options
context:
space:
mode:
authorSteffen Ritter2018-01-16 13:44:20 +0100
committerSteffen Ritter2018-01-16 13:44:20 +0100
commitde8c8f6ba176855e5a461f0de1edd73793c74f8f (patch)
tree00e84a98176dab5cc5fc555559e9f60e9a49ef69 /modules-available/syslog/page.inc.php
parent[statistics] Properly display runmode name in client list (diff)
downloadslx-admin-de8c8f6ba176855e5a461f0de1edd73793c74f8f.tar.gz
slx-admin-de8c8f6ba176855e5a461f0de1edd73793c74f8f.tar.xz
slx-admin-de8c8f6ba176855e5a461f0de1edd73793c74f8f.zip
[syslog] Make client ip clickable, linking to statistics
Diffstat (limited to 'modules-available/syslog/page.inc.php')
-rw-r--r--modules-available/syslog/page.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/syslog/page.inc.php b/modules-available/syslog/page.inc.php
index c679877a..153b591f 100644
--- a/modules-available/syslog/page.inc.php
+++ b/modules-available/syslog/page.inc.php
@@ -55,10 +55,10 @@ class Page_SysLog extends Page
else
$whereClause .= ' AND ';
- $whereClause .= "machineuuid='" . preg_replace('/[^0-9a-zA-Z\-]/', '', Request::get('machineuuid', '', 'string')) . "'";
+ $whereClause .= "machineuuid='" . preg_replace('/[^0-9a-zA-Z\-]/', '', Request::get('machineuuid', '', 'string')) . "'";
}
$lines = array();
- $paginate = new Paginate("SELECT logid, dateline, logtypeid, clientip, description, extra FROM clientlog $whereClause ORDER BY logid DESC", 50);
+ $paginate = new Paginate("SELECT logid, dateline, logtypeid, clientip, machineuuid, description, extra FROM clientlog $whereClause ORDER BY logid DESC", 50);
$res = $paginate->exec();
while ($row = $res->fetch(PDO::FETCH_ASSOC)) {
$row['date'] = Util::prettyTime($row['dateline']);