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']);