Skip to content
Permalink
Browse files

Merge pull request #6 from tarasfrompir/patch-1

Update Telegram.php
  • Loading branch information...
Anisan committed Jun 4, 2019
2 parents 9156499 + 0a5a245 commit a0a31bcd863ce17373fda16d3ced75253fee754c
Showing with 5 additions and 1 deletion.
  1. +5 −1 modules/telegram/Telegram.php
@@ -1753,7 +1753,11 @@ public function UpdateID()
/// Get the number of updates
public function UpdateCount()
{
return count($this->updates['result']);
if (!$this->updates['result']) {
return 0;
} else {
return count($this->updates['result']);
}
}
/// Get user's id of current message

0 comments on commit a0a31bc

Please sign in to comment.
You can’t perform that action at this time.