mirror of
https://github.com/librenms/librenms.git
synced 2024-09-29 14:26:25 +00:00
fix syslog on device overview (duh, missing argument!)
git-svn-id: http://www.observium.org/svn/observer/trunk@2342 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
parent
9827420195
commit
131ab8ec72
@ -60,7 +60,7 @@ if ($services['total'])
|
||||
|
||||
|
||||
### FIXME - split this into overview/syslog.inc.php?
|
||||
$syslog = dbFetchRows("SELECT *, DATE_FORMAT(timestamp, '%d/%b/%y %T') AS date from syslog WHERE device_id = ? ORDER BY timestamp DESC LIMIT 20");
|
||||
$syslog = dbFetchRows("SELECT *, DATE_FORMAT(timestamp, '%d/%b/%y %T') AS date from syslog WHERE device_id = ? ORDER BY timestamp DESC LIMIT 20", array($device['device_id']));
|
||||
if (is_array($syslog))
|
||||
{
|
||||
echo("<div style='background-color: #eeeeee; margin: 5px; padding: 5px;'>");
|
||||
|
Loading…
Reference in New Issue
Block a user