mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-07-24 04:44:28 +02:00
bold
This commit is contained in:
parent
fc6a5a26eb
commit
51984401d2
1 changed files with 2 additions and 2 deletions
|
@ -45,8 +45,8 @@ class Message
|
|||
!empty($phone) && strlen($phone) > 5
|
||||
&& !empty($textExpired) && in_array($via, ['sms', 'wa'])
|
||||
) {
|
||||
$msg = str_replace('[[name]]', $name, $textExpired);
|
||||
$msg = str_replace('[[package]]', $package, $msg);
|
||||
$msg = str_replace('[[name]]', "*$name*", $textExpired);
|
||||
$msg = str_replace('[[package]]', "*$package*", $msg);
|
||||
if ($via == 'sms') {
|
||||
Message::sendSMS($phone, $msg);
|
||||
} else if ($via == 'wa') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue