Update actions_sendmails.inc.php
This commit is contained in:
parent
5dde72e3dd
commit
e468584783
@ -131,6 +131,12 @@ if (($action == 'send' || $action == 'relance') && ! $_POST['addfile'] && ! $_PO
|
|||||||
if ($thirdparty->id > 0) $sendtosocid=$thirdparty->id;
|
if ($thirdparty->id > 0) $sendtosocid=$thirdparty->id;
|
||||||
}
|
}
|
||||||
else dol_print_error('','Use actions_sendmails.in.php for an element/object that is not supported');
|
else dol_print_error('','Use actions_sendmails.in.php for an element/object that is not supported');
|
||||||
|
|
||||||
|
if (is_object($hookmanager))
|
||||||
|
{
|
||||||
|
$parameters=array();
|
||||||
|
$reshook=$hookmanager->executeHooks('initSendToSocid',$parameters,$object,$action); // Note that $action and $object may have been modified by some hooks
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else $thirdparty = $mysoc;
|
else $thirdparty = $mysoc;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user