We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 506e336 commit b65c7beCopy full SHA for b65c7be
lhc_web/modules/lhchat/sendmail.php
@@ -13,7 +13,10 @@
13
$mailTemplate->translate($chat->chat_locale);
14
15
erLhcoreClassChatMail::prepareSendMail($mailTemplate, $chat);
16
- $mailTemplate->recipient = $chat->email;
+
17
+ if ($mailTemplate->only_recipient != 1 || $mailTemplate->recipient == '') {
18
+ $mailTemplate->recipient = $chat->email;
19
+ }
20
21
if (isset($_POST['SendMail'])) {
22
0 commit comments