From 2ce693aa80825f56807911c30f03fd015f377736 Mon Sep 17 00:00:00 2001 From: lopar Date: Sat, 16 Feb 2019 01:08:56 +0200 Subject: [PATCH] small fixes --- admin/admin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/admin.php b/admin/admin.php index 5446a9e..d7cbad1 100644 --- a/admin/admin.php +++ b/admin/admin.php @@ -976,8 +976,8 @@ echo ""; 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 "Успешно."; } # Показывает невидимок.