mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-03 01:34:53 +02:00
fix: send correct message content in SMS and WhatsApp notifications
This commit is contained in:
parent
20ceedb3f5
commit
fb558f4ac6
1 changed files with 2 additions and 2 deletions
|
@ -108,11 +108,11 @@ EOT;
|
|||
$smsSent = $waSent = $emailSent = $inboxSent = false;
|
||||
|
||||
if ($via === 'sms' || $via === 'both' || $via === 'all') {
|
||||
$smsSent = Message::sendSMS($customer['phonenumber'], $currentSubject);
|
||||
$smsSent = Message::sendSMS($customer['phonenumber'], $currentMessage);
|
||||
}
|
||||
|
||||
if ($via === 'wa' || $via === 'both' || $via === 'all') {
|
||||
$waSent = Message::sendWhatsapp($customer['phonenumber'], $currentSubject);
|
||||
$waSent = Message::sendWhatsapp($customer['phonenumber'], $currentMessage);
|
||||
}
|
||||
|
||||
if ($via === 'email' || $via === 'all') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue