Fix: choice of percentage was lost
This commit is contained in:
parent
dd43f7a890
commit
3c9fef8eea
@ -494,7 +494,11 @@ if ($action == 'create')
|
||||
print '<tr><td width="10%">'.$langs->trans("Status").' / '.$langs->trans("Percentage").'</td>';
|
||||
print '<td>';
|
||||
$percent=-1;
|
||||
if (isset($_GET['percentage']) || isset($_POST['percentage']))
|
||||
if (isset($_GET['status']) || isset($_POST['status']))
|
||||
{
|
||||
$percent=GETPOST('status');
|
||||
}
|
||||
else if (isset($_GET['percentage']) || isset($_POST['percentage']))
|
||||
{
|
||||
$percent=GETPOST('percentage');
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user