2012-09-28 Ramon Novoa <rnovoa@artica.es>

* lib/PandoraFMS/Tools.pm: Fixed an SQL query.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7010 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2012-09-28 14:06:55 +00:00
parent ad021cfb66
commit 7b9c64468d
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-09-28 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Tools.pm: Fixed an SQL query.
2012-09-28 Ramon Novoa <rnovoa@artica.es> 2012-09-28 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NetworkServer.pm, * lib/PandoraFMS/NetworkServer.pm,

View File

@ -1028,7 +1028,7 @@ sub translate_obj ($$$) {
# Could not translate OID, disable the module # Could not translate OID, disable the module
if (! defined ($oid)) { if (! defined ($oid)) {
db_do ($dbh, 'UPDATE tagente_modulo SET disabled = 1', $oid, $module_id); db_do ($dbh, 'UPDATE tagente_modulo SET disabled = 1 WHERE id_agente_modulo = ?', $module_id);
return ''; return '';
} }