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

Merge pull request #3047 from marcosgdf/patch-2

Fixed undefined variable typo
parents a7cec180 adc1998b
No related branches found
No related tags found
No related merge requests found
...@@ -124,7 +124,7 @@ class FormProjets ...@@ -124,7 +124,7 @@ class FormProjets
} }
else if ($obj->fk_statut == 2) else if ($obj->fk_statut == 2)
{ {
if ($discard_close == 2) $disabled=1; if ($discard_closed == 2) $disabled=1;
$labeltoshow.=' - '.$langs->trans("Closed"); $labeltoshow.=' - '.$langs->trans("Closed");
} }
else if ($socid > 0 && (! empty($obj->fk_soc) && $obj->fk_soc != $socid)) else if ($socid > 0 && (! empty($obj->fk_soc) && $obj->fk_soc != $socid))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment