Update card.php
This commit is contained in:
parent
e2b469dee4
commit
aab4f8e028
@ -1056,7 +1056,7 @@ if ($action == 'create')
|
||||
else {
|
||||
if (GETPOST('complete') == '0' || GETPOST("afaire") == 1) $percent = '0';
|
||||
elseif (GETPOST('complete') == 100 || GETPOST("afaire") == 2) $percent = 100;
|
||||
elseif ($conf->global->AGENDA_EVENT_DEFAULT_STATUS!=='na') $percent = $conf->global->AGENDA_EVENT_DEFAULT_STATUS;
|
||||
elseif (isset($conf->global->AGENDA_EVENT_DEFAULT_STATUS) && $conf->global->AGENDA_EVENT_DEFAULT_STATUS!=='na') $percent = $conf->global->AGENDA_EVENT_DEFAULT_STATUS;
|
||||
}
|
||||
$formactions->form_select_status_action('formaction', $percent, 1, 'complete', 0, 0, 'maxwidth200');
|
||||
print '</td></tr>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user