2012-02-27 Vanessa Gil <vanessa.gil@artica.es>

* godmode/modules/manage_network_components.php: Fixed bug: values max and min
	saved are integers instead of float.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5651 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
vgilc 2012-02-27 12:52:38 +00:00
parent 46be0a2900
commit 115a3c24bd
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2012-02-27 Vanessa Gil <vanessa.gil@artica.es>
* godmode/modules/manage_network_components.php: Fixed bug: values max and min
saved are integers instead of float.
2012-02-27 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/functions_pchart.php: fixed when the var for $colors is a

View File

@ -49,11 +49,11 @@ $plugin_parameter = (string) get_parameter ('plugin_parameter');
$max_timeout = (int) get_parameter ('max_timeout');
$id_modulo = (int) get_parameter ('id_component_type');
$id_plugin = (int) get_parameter ('id_plugin');
$min_warning = (int) get_parameter ('min_warning');
$max_warning = (int) get_parameter ('max_warning');
$min_warning = (float) get_parameter ('min_warning');
$max_warning = (float) get_parameter ('max_warning');
$str_warning = (string) get_parameter ('str_warning');
$min_critical = (int) get_parameter ('min_critical');
$max_critical = (int) get_parameter ('max_critical');
$min_critical = (float) get_parameter ('min_critical');
$max_critical = (float) get_parameter ('max_critical');
$str_critical = (string) get_parameter ('str_critical');
$ff_event = (int) get_parameter ('ff_event');
$history_data = (bool) get_parameter ('history_data');