FIX: project mail: templates + hide actions when in presend

This commit is contained in:
Marc de Lima Lucio 2018-03-28 17:10:12 +02:00
parent 3aff363998
commit 913135cb20

View File

@ -1071,7 +1071,7 @@ elseif ($object->id > 0)
// modified by hook
if (empty($reshook))
{
if ($action != "edit" )
if ($action != "edit" && $action != 'presend' )
{
// Create event
@ -1225,6 +1225,10 @@ elseif ($object->id > 0)
print "</div>";
if (GETPOST('modelselected')) {
$action = 'presend';
}
if ($action != 'presend')
{
print '<div class="fichecenter"><div class="fichehalfleft">';