mirror of
https://github.com/WerySkok/nativegallery.git
synced 2024-12-22 08:30:59 +03:00
Update FavAuthors.php
This commit is contained in:
parent
e9786a3d8b
commit
8eb5caaf73
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ use \App\Models\{User, Photo};
|
|||
<td class="main">
|
||||
<h1>Фотографии избранных авторов</h1>
|
||||
<?php
|
||||
$followimgs = DB::query('SELECT * FROM followers_notifications WHERE follower_id=:id', array(':id'=>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']);
|
||||
|
|
Loading…
Reference in a new issue