mirror of
https://github.com/claradex/nativegallery.git
synced 2024-12-23 00:50:55 +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">
|
<td class="main">
|
||||||
<h1>Фотографии избранных авторов</h1>
|
<h1>Фотографии избранных авторов</h1>
|
||||||
<?php
|
<?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) {
|
foreach ($followimgs as $f) {
|
||||||
$author = new User($p['user_id']);
|
$author = new User($p['user_id']);
|
||||||
$p = new Photo($f['photo_id']);
|
$p = new Photo($f['photo_id']);
|
||||||
|
|
Loading…
Reference in a new issue