mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-07-25 13:25:09 +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($phone) && strlen($phone) > 5
|
||||||
&& !empty($textExpired) && in_array($via, ['sms', 'wa'])
|
&& !empty($textExpired) && in_array($via, ['sms', 'wa'])
|
||||||
) {
|
) {
|
||||||
$msg = str_replace('[[name]]', $name, $textExpired);
|
$msg = str_replace('[[name]]', "*$name*", $textExpired);
|
||||||
$msg = str_replace('[[package]]', $package, $msg);
|
$msg = str_replace('[[package]]', "*$package*", $msg);
|
||||||
if ($via == 'sms') {
|
if ($via == 'sms') {
|
||||||
Message::sendSMS($phone, $msg);
|
Message::sendSMS($phone, $msg);
|
||||||
} else if ($via == 'wa') {
|
} else if ($via == 'wa') {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue