forked from Wavyzz/dolibarr
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
This commit is contained in:
@@ -12309,9 +12309,9 @@ function dolGetButtonAction($label, $text = '', $actionType = 'default', $url =
|
|||||||
$text = $button['text'] ?? '';
|
$text = $button['text'] ?? '';
|
||||||
$actionType = $button['actionType'] ?? '';
|
$actionType = $button['actionType'] ?? '';
|
||||||
$tmpUrl = DOL_URL_ROOT.$button['url'].(empty($params['backtopage']) ? '' : '&backtopage='.urlencode($params['backtopage']));
|
$tmpUrl = DOL_URL_ROOT.$button['url'].(empty($params['backtopage']) ? '' : '&backtopage='.urlencode($params['backtopage']));
|
||||||
$id = $button['$id'] ?? '';
|
$id = $button['id'] ?? '';
|
||||||
$userRight = $button['perm'] ?? 1;
|
$userRight = $button['perm'] ?? 1;
|
||||||
$params = $button['$params'] ?? [];
|
$params = $button['params'] ?? [];
|
||||||
|
|
||||||
$out .= dolGetButtonAction($label, $text, $actionType, $tmpUrl, $id, $userRight, $params);
|
$out .= dolGetButtonAction($label, $text, $actionType, $tmpUrl, $id, $userRight, $params);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -191,7 +191,7 @@ class InterfaceTicketEmail extends DolibarrTriggers
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Send email to customer
|
// Send email to customer
|
||||||
if (!getDolGlobalString('TICKET_DISABLE_CUSTOMER_MAILS') && empty($object->context['disableticketemail']) && $object->notify_tiers_at_create) {
|
if (!getDolGlobalInt('TICKET_DISABLE_CUSTOMER_MAILS') && empty($object->context['disableticketemail']) && $object->notify_tiers_at_create) {
|
||||||
$sendto = '';
|
$sendto = '';
|
||||||
|
|
||||||
// if contact selected send to email's contact else send to email's thirdparty
|
// if contact selected send to email's contact else send to email's thirdparty
|
||||||
|
|||||||
Reference in New Issue
Block a user