small fixes
This commit is contained in:
parent
9816feacc7
commit
2ce693aa80
@ -976,8 +976,8 @@ echo "</div>";
|
||||
<?php
|
||||
# Телеграф.
|
||||
if (!empty($_POST['receiver']) AND !empty($_POST['tgmsg'])) {
|
||||
$receiverId = db::c()->query('SELECT `id` FROM `users` WHERE `login`= "?s"',$_POST['receiver'])->fetch_assoc();
|
||||
telegraph($receiverId,$_POST['tgmsg']);
|
||||
$receiverId = db::c()->query('SELECT `id` FROM `users` WHERE `login`= "?s"',$_POST['receiver'])->fetch_row();
|
||||
telegraph($receiverId[0],$_POST['tgmsg']);
|
||||
echo "Успешно.";
|
||||
}
|
||||
# Показывает невидимок.
|
||||
|
Loading…
Reference in New Issue
Block a user