2011-02-16 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Do not update the module description if it's empty. Fixes bug #3162637. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3880 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
c9189d19ff
commit
7cc8e631c8
|
@ -1,3 +1,8 @@
|
|||
2011-02-16 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* lib/PandoraFMS/DataServer.pm: Do not update the module description
|
||||
if it's empty. Fixes bug #3162637.
|
||||
|
||||
2011-02-16 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* FreeBSD/tentacle_server: Added a filter option.
|
||||
|
|
|
@ -567,7 +567,7 @@ sub update_module_configuration ($$$$) {
|
|||
$module->{'module_interval'} != $module_conf->{'module_interval'}) {
|
||||
logger($pa_config, "Updating configuration for module '" . $module->{'nombre'} . "'.", 10);
|
||||
db_do ($dbh, 'UPDATE tagente_modulo SET min = ?, max = ?, descripcion = ?, post_process = ?, module_interval = ?
|
||||
WHERE id_agente_modulo = ?', $module_conf->{'min'}, $module_conf->{'max'}, $module_conf->{'descripcion'},
|
||||
WHERE id_agente_modulo = ?', $module_conf->{'min'}, $module_conf->{'max'}, $module_conf->{'descripcion'} eq '' ? $module->{'descripcion'} : $module_conf->{'descripcion'},
|
||||
$module_conf->{'post_process'}, $module_conf->{'module_interval'}, $module->{'id_agente_modulo'});
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue