diff --git a/html/pages/device/overview.inc.php b/html/pages/device/overview.inc.php index 7562ca955..79aca9613 100644 --- a/html/pages/device/overview.inc.php +++ b/html/pages/device/overview.inc.php @@ -59,15 +59,18 @@ if ($services['total']) } ### FIXME - split this into overview/syslog.inc.php? -$syslog = dbFetchRows("SELECT *, DATE_FORMAT(timestamp, '%Y-%m-%d %T') AS date from syslog WHERE device_id = ? ORDER BY timestamp DESC LIMIT 20", array($device['device_id'])); -if (count($syslog)) +if ($config['enable_syslog']) { - echo("