mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-02-12 08:26:44 +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());
|
$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() : [];
|
$seenRecords = Auth::check() ? self::where('user_id', '=', Auth::user()->id)->whereIn('post_hash', $postHashes)->get() : [];
|
||||||
$seenHashes = [];
|
$seenHashes = [];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue