diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index 36bebd6402e50..aaba6d94455be 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -483,7 +483,7 @@ function setdatefields() print ''.$langs->trans("Status").' / '.$langs->trans("Percentage").''; print ''; $percent=-1; - if (GETPOST('percentage')) + if (isset($_GET['percentage']) || isset($_POST['percentage'])) { $percent=GETPOST('percentage'); }