Changed $body to correct var $message

And changed PHP_EOL to <br>.
This commit is contained in:
TimZ99 2021-04-15 01:32:47 +02:00
parent d40dcd1bdc
commit 39e184ff2c
No known key found for this signature in database
GPG Key ID: 4D8268DC68E8339D
1 changed files with 1 additions and 1 deletions

View File

@ -696,7 +696,7 @@ class StatusNotifier
$message = key_exists('message', $combi) ?
$combi['message'] :
psm_parse_msg($this->status_new, 'telegram_message', $this->server);
if ((bool)psm_get_conf('telegram_add_url')) $body .= PHP_EOL.PSM_BASE_URL;
if ((bool)psm_get_conf('telegram_add_url')) $message .= '<br>'.PSM_BASE_URL;
$telegram = psm_build_telegram();
$telegram->setMessage($message);