mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
Telegram: Fix undefined array key (#15025)
This commit is contained in:
parent
927446db7b
commit
a27a53cc03
@ -33,7 +33,7 @@ class Telegram extends Transport
|
||||
public function deliverAlert($obj, $opts)
|
||||
{
|
||||
$telegram_opts['chat_id'] = $this->config['telegram-chat-id'];
|
||||
$telegram_opts['message_thread_id'] = $this->config['message-thread-id'];
|
||||
$telegram_opts['message_thread_id'] = $this->config['message-thread-id'] ?? null;
|
||||
$telegram_opts['token'] = $this->config['telegram-token'];
|
||||
$telegram_opts['format'] = $this->config['telegram-format'];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user