aboutsummaryrefslogtreecommitdiff
path: root/lib/models/BlubberThread.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/models/BlubberThread.php')
-rw-r--r--lib/models/BlubberThread.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/models/BlubberThread.php b/lib/models/BlubberThread.php
index d0f2f89..68c5470 100644
--- a/lib/models/BlubberThread.php
+++ b/lib/models/BlubberThread.php
@@ -249,7 +249,8 @@ class BlubberThread extends SimpleORMap implements PrivacyObject
{
$query = SQLQuery::table('blubber_threads')->join(
'blubber_comments',
- 'blubber_comments', 'blubber_threads.thread_id = blubber_comments.thread_id',
+ 'blubber_comments',
+ 'blubber_threads.thread_id = blubber_comments.thread_id',
'LEFT JOIN'
);
@@ -362,7 +363,7 @@ class BlubberThread extends SimpleORMap implements PrivacyObject
$threads = array_map(function ($thread) {
return self::upgradeThread($thread);
}, $threads);
- $threads = array_filter($threads, function ($t) use ($user_id){
+ $threads = array_filter($threads, function ($t) use ($user_id) {
return $t->isVisibleInStream() && $t->isReadable($user_id);
});
return $threads;