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:
parent
ad021cfb66
commit
7b9c64468d
|
@ -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,
|
||||||
|
|
|
@ -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 '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue