small fixes

This commit is contained in:
lopar 2019-02-16 01:08:56 +02:00
parent 9816feacc7
commit 2ce693aa80

View File

@ -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 "Успешно.";
} }
# Показывает невидимок. # Показывает невидимок.