2010-06-03 Miguel de Dios <miguel.dedios@artica.es>

* operation/snmpconsole/snmp_view.php: fixed a typo mistake in SQL query.
	Fixes: #3010543



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2853 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2010-06-03 08:12:47 +00:00
parent 8ccb3d790b
commit 2415e3ebbb
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-06-03 Miguel de Dios <miguel.dedios@artica.es>
* operation/snmpconsole/snmp_view.php: fixed a typo mistake in SQL query.
Fixes: #3010543
2010-06-02 Miguel de Dios <miguel.dedios@artica.es>
* operation/reporting/reporting_xml.php: sorry I lost commit the changes to

View File

@ -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.