]> git.mxchange.org Git - friendica.git/commitdiff
Issue 10219: Don't display follow activities
authorMichael <heluecht@pirati.ca>
Mon, 24 May 2021 18:04:47 +0000 (18:04 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 24 May 2021 18:04:47 +0000 (18:04 +0000)
mod/photos.php

index df843846456d613522f83fa45d272402c1937a81..d23c454c036499bc4595b2ba81863afde5f1aff3 100644 (file)
@@ -1275,7 +1275,7 @@ function photos_content(App $a)
                }
 
                if (!empty($link_item['parent']) && !empty($link_item['uid'])) {
-                       $condition = ["`parent` = ? AND `gravity` != ?",  $link_item['parent'], GRAVITY_PARENT];
+                       $condition = ["`parent` = ? AND `gravity` = ?",  $link_item['parent'], GRAVITY_COMMENT];
                        $total = Post::count($condition);
 
                        $pager = new Pager(DI::l10n(), DI::args()->getQueryString());