Skip to content

Commit 35cc891

Browse files
authored
Update messagewizwiz.php
1 parent 0cb8d94 commit 35cc891

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

settings/messagewizwiz.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
[['text'=>$buttonValues['start_bot'],'callback_data'=>"mainMenu"]]
6262
]
6363
]);
64-
if($usersList->num_rows > 1) {
64+
if($usersList->num_rows > 0) {
6565
while($user = $usersList->fetch_assoc()){
6666
if($type == 'text'){
6767
sendMessage($text,$keys,null,$user['userid']);
@@ -91,7 +91,7 @@
9191
'chat_id' => $user['userid'],
9292
'document' => $file_id,
9393
'caption' => $text,
94-
'reply_markup'=>$kes
94+
'reply_markup'=>$keys
9595
]);
9696
}elseif($type == 'photo'){
9797
bot('sendPhoto', [

0 commit comments

Comments
 (0)