Skip to content
Snippets Groups Projects
Commit c06c2d04 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

FIX #3841 creation of a task completed has not status set to finished by

default
parent f08d52b0
No related branches found
No related tags found
No related merge requests found
...@@ -1204,7 +1204,7 @@ function show_actions_done($conf,$langs,$db,$object,$objcon='',$noprint=0) ...@@ -1204,7 +1204,7 @@ function show_actions_done($conf,$langs,$db,$object,$objcon='',$noprint=0)
{ {
$out.='<a href="'.DOL_URL_ROOT.'/comm/action/fiche.php?action=create'; $out.='<a href="'.DOL_URL_ROOT.'/comm/action/fiche.php?action=create';
if (get_class($object) == 'Societe') $out.='&amp;socid='.$object->id; if (get_class($object) == 'Societe') $out.='&amp;socid='.$object->id;
$out.=(! empty($objcon->id)?'&amp;contactid='.$objcon->id:'').'&amp;backtopage=1&amp;percentage=-1">'; $out.=(! empty($objcon->id)?'&amp;contactid='.$objcon->id:'').'&amp;backtopage=1&amp;percentage=100">';
$out.=$langs->trans("AddAnAction").' '; $out.=$langs->trans("AddAnAction").' ';
$out.=img_picto($langs->trans("AddAnAction"),'filenew'); $out.=img_picto($langs->trans("AddAnAction"),'filenew');
$out.="</a>"; $out.="</a>";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment