diff --git a/htdocs/admin/delais.php b/htdocs/admin/delais.php index 0b8c639622f..2502a257ae7 100644 --- a/htdocs/admin/delais.php +++ b/htdocs/admin/delais.php @@ -179,10 +179,10 @@ if ($action == 'update') } } } - + dolibarr_set_const($db, "MAIN_DISABLE_METEO", $_POST["MAIN_DISABLE_METEO"], 'chaine', 0, '', $conf->entity); dolibarr_set_const($db, "MAIN_USE_METEO_WITH_PERCENTAGE", GETPOST("MAIN_USE_METEO_WITH_PERCENTAGE"), 'chaine', 0, '', $conf->entity); - + // For update value with percentage $plus = ''; if (!empty($conf->global->MAIN_USE_METEO_WITH_PERCENTAGE)) $plus = '_PERCENTAGE'; @@ -212,10 +212,10 @@ if ($action == 'edit') print '