Skip to content

Commit 644ede1

Browse files
committed
Missing 'return' statement in messageFromGroupTitle()
1 parent a4381dc commit 644ede1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Telegram.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2038,6 +2038,7 @@ public function messageFromGroupTitle()
20382038
if ($this->data['message']['chat']['type'] != 'private') {
20392039
return $this->data['message']['chat']['title'];
20402040
}
2041+
return '';
20412042
}
20422043

20432044
/// Set a custom keyboard

0 commit comments

Comments
 (0)