mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-02-07 06:16:43 +01:00
Merge branch 'development'
This commit is contained in:
commit
2684107095
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,9 @@
|
|||
$postHashes[] = self::calculateHash($post->get_permalink());
|
||||
}
|
||||
|
||||
if (count($postHashes) == 0)
|
||||
return [];
|
||||
|
||||
$seenRecords = Auth::check() ? self::where('user_id', '=', Auth::user()->id)->whereIn('post_hash', $postHashes)->get() : [];
|
||||
$seenHashes = [];
|
||||
|
||||
|
|
Loading…
Reference in a new issue