Fixed error in post process value. Ticket#2739

This commit is contained in:
Arturo Gonzalez Diaz 2015-09-29 13:37:38 +02:00
parent 417d43118c
commit de4b2897b0
2 changed files with 3 additions and 3 deletions

View File

@ -838,8 +838,8 @@ if ($update_module || $create_module) {
// Don't read as (float) because it lost it's decimals when put into MySQL
// where are very big and PHP uses scientific notation, p.e:
// 1.23E-10 is 0.000000000123
$post_process = (string) get_parameter ('post_process');
$post_process = (string) get_parameter ('post_process', 0.0);
//$prediction_module = 0;
$max_timeout = (int) get_parameter ('max_timeout');

View File

@ -365,7 +365,7 @@ $table_advanced->data[2][1] .= html_print_input_hidden ('moduletype', $moduletyp
$table_advanced->data[2][3] = __('Post process').' ' . ui_print_help_icon ('postprocess', true);
$table_advanced->data[2][4] =
html_print_extended_select_for_post_process('post_process',
$post_process, '', __('Empty'), '0', false, true, false, true,
$post_process, '', '', '0', false, true, false, true,
$disabledBecauseInPolicy);
$table_advanced->colspan[2][4] = 3;