2014-05-28 Sergio Martin <sergio.martin@artica.es>

* godmode/agentes/configurar_agente.php: Fixed field that
	wasn't saved on DB in WMI modules for ticket #794



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10028 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2014-05-28 11:46:50 +00:00
parent 7a17f11379
commit af5d571ff4
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2014-05-28 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/configurar_agente.php: Fixed field that
wasn't saved on DB in WMI modules for ticket #794
2014-05-27 Alejandro Gallardo <alejandro.gallardo@artica.es>
* extensions/files_repo.php: Fixed a weird error when

View File

@ -806,8 +806,8 @@ if ($update_module || $create_module) {
$tcp_rcv = (string) get_parameter ('tcp_rcv');
$tcp_port = (int) get_parameter ('tcp_port');
// Correction in order to not insert 0 as port
$is_port_empty = get_parameter ('tcp_port');
if (empty($is_port_empty))
$is_port_empty = get_parameter ('tcp_port', '');
if ($is_port_empty === '')
$tcp_port = NULL;
$configuration_data = (string) get_parameter ('configuration_data');
$old_configuration_data = (string) get_parameter ('old_configuration_data');