aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/lib/activity.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files/lib/activity.php b/apps/files/lib/activity.php
index 7302bfb33b5..007f9a1dda4 100644
--- a/apps/files/lib/activity.php
+++ b/apps/files/lib/activity.php
@@ -333,9 +333,8 @@ class Activity implements IExtension {
$parameters = $fileQueryList = [];
$parameters[] = 'files';
- $fileQueryList[] = '`type` <> ?';
+ $fileQueryList[] = '(`type` <> ? AND `type` <> ?)';
$parameters[] = self::TYPE_SHARE_CREATED;
- $fileQueryList[] = '`type` <> ?';
$parameters[] = self::TYPE_SHARE_CHANGED;
foreach ($favorites['items'] as $favorite) {