From 8eb5caaf73d776bce2209bbb958d96409a46d1b9 Mon Sep 17 00:00:00 2001 From: themohooks <81331307+themohooks@users.noreply.github.com> Date: Fri, 19 Jul 2024 15:52:31 +0300 Subject: [PATCH] Update FavAuthors.php --- views/pages/FavAuthors.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/pages/FavAuthors.php b/views/pages/FavAuthors.php index 06b0ac2..92410f7 100644 --- a/views/pages/FavAuthors.php +++ b/views/pages/FavAuthors.php @@ -22,7 +22,7 @@ use \App\Models\{User, Photo};

Фотографии избранных авторов

Auth::userid())); + $followimgs = DB::query('SELECT * FROM followers_notifications WHERE follower_id=:id AND checked=1', array(':id'=>Auth::userid())); foreach ($followimgs as $f) { $author = new User($p['user_id']); $p = new Photo($f['photo_id']);