Commit 616f3c95 authored by Lee Watson's avatar Lee Watson

Fix fatal error in NewchatparticipantCommand.php

parent 6a3a1694
......@@ -36,7 +36,7 @@ class NewchatparticipantCommand extends Command
if (strtolower($participant->getUsername()) == strtolower($this->getTelegram()->getBotName())) {
$text = 'Hi there!';
} else {
$text = 'Hi '.$this->tryMention($partecipant).' !';
$text = 'Hi '.$this->tryMention($participant).' !';
}
$data['text'] = $text;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment