FIX: only send mail from open project
This commit is contained in:
parent
f9bc5bf931
commit
f5324bb15e
@ -1083,7 +1083,10 @@ elseif ($object->id > 0)
|
|||||||
}*/
|
}*/
|
||||||
|
|
||||||
// Send
|
// Send
|
||||||
|
if ($object->statut != 2)
|
||||||
|
{
|
||||||
print '<div class="inline-block divButAction"><a class="butAction" href="card.php?id='.$object->id.'&action=presend&mode=init#formmailbeforetitle">' . $langs->trans('SendMail').'</a></div>';
|
print '<div class="inline-block divButAction"><a class="butAction" href="card.php?id='.$object->id.'&action=presend&mode=init#formmailbeforetitle">' . $langs->trans('SendMail').'</a></div>';
|
||||||
|
}
|
||||||
|
|
||||||
// Modify
|
// Modify
|
||||||
if ($object->statut != 2 && $user->rights->projet->creer)
|
if ($object->statut != 2 && $user->rights->projet->creer)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user