FIX: project mail: templates + hide actions when in presend
This commit is contained in:
parent
3aff363998
commit
913135cb20
@ -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">';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user