mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
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
04635d711d
commit
f4cced2ee0
@ -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>
|
||||
|
||||
* lib/PandoraFMS/NetworkServer.pm,
|
||||
|
@ -1028,7 +1028,7 @@ sub translate_obj ($$$) {
|
||||
|
||||
# Could not translate OID, disable the module
|
||||
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 '';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user