From f00e4c2a4cba69ccc111bf1398ba5fffbbb14e68 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 24 May 2021 18:04:47 +0000 Subject: [PATCH] Issue 10219: Don't display follow activities --- mod/photos.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/photos.php b/mod/photos.php index df8438464..d23c454c0 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -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());