FIX : Variable name

This commit is contained in:
ATM-Nicolas 2018-10-22 15:19:33 +02:00
parent 6fde6e4250
commit cf28e4e442

View File

@ -225,7 +225,7 @@ class FormProjets
}
else if ($obj->fk_statut == 2)
{
if ($discard_close == 2) $disabled=1;
if ($discard_closed == 2) $disabled=1;
$labeltoshow.=' - '.$langs->trans("Closed");
}
else if ( empty($conf->global->PROJECT_ALLOW_TO_LINK_FROM_OTHER_COMPANY) && $socid > 0 && (! empty($obj->fk_soc) && $obj->fk_soc != $socid))