Skip to content

Commit 27479f4

Browse files
committed
Merge branch '20.0' of [email protected]:Dolibarr/dolibarr.git into 21.0
2 parents 9d2cb0d + 29c953b commit 27479f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

htdocs/core/tpl/massactions_pre.tpl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@
325325
// Make substitution in email content
326326
$substitutionarray = getCommonSubstitutionArray($langs, 0, null, $object);
327327

328-
$substitutionarray['__EMAIL__'] = $sendto;
328+
$substitutionarray['__EMAIL__'] = empty($sendto) ? '__EMAIL__' : $sendto;
329329
$substitutionarray['__CHECK_READ__'] = '<img src="'.DOL_MAIN_URL_ROOT.'/public/emailing/mailing-read.php?tag=undefined&securitykey='.dol_hash(getDolGlobalString('MAILING_EMAIL_UNSUBSCRIBE_KEY')."-undefined", 'md5').'" width="1" height="1" style="width:1px;height:1px" border="0"/>';
330330
$substitutionarray['__ONLINE_PAYMENT_URL__'] = 'UrlToPayOnlineIfApplicable';
331331
$substitutionarray['__ONLINE_PAYMENT_TEXT_AND_URL__'] = 'TextAndUrlToPayOnlineIfApplicable';

0 commit comments

Comments
 (0)