Skip to content
This repository was archived by the owner on Mar 31, 2022. It is now read-only.

Commit b10c765

Browse files
committed
Messages send only to one recipient instead of few fixed
1 parent ab17413 commit b10c765

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

inc/bot.class.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ static public function getChatID($user_id) {
7373
'glpi_plugin_telegrambot_user' => 'username'
7474
]
7575
]
76-
]
76+
],
77+
'WHERE' => ['glpi_plugin_telegrambot_users.id' => $user_id]
7778
]);
7879

7980
if ($row = $result->next()) {

0 commit comments

Comments
 (0)