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