diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 28e9cf5ab3..359bc1f62e 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2010-06-03 Miguel de Dios + + * operation/snmpconsole/snmp_view.php: fixed a typo mistake in SQL query. + Fixes: #3010543 + 2010-06-02 Miguel de Dios * operation/reporting/reporting_xml.php: sorry I lost commit the changes to diff --git a/pandora_console/operation/snmpconsole/snmp_view.php b/pandora_console/operation/snmpconsole/snmp_view.php index 11f779043f..d554cccbcc 100644 --- a/pandora_console/operation/snmpconsole/snmp_view.php +++ b/pandora_console/operation/snmpconsole/snmp_view.php @@ -147,7 +147,7 @@ foreach ($traps as $trap) { $sql = "SELECT * FROM ttrap %s ORDER BY timestamp DESC LIMIT %d,%d"; $whereSubquery = 'WHERE 1=1'; if ($filter_agent != '') - $whereSubquery .= ' AND source LIKE "' . $filter_agent . "'"; + $whereSubquery .= ' AND source LIKE "' . $filter_agent . '"'; if ($filter_oid != '') { //Test if install the enterprise to search oid in text or oid field in ttrap.