From: Michael Date: Mon, 24 May 2021 18:04:47 +0000 (+0000) Subject: Issue 10219: Don't display follow activities X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f00e4c2a4cba69ccc111bf1398ba5fffbbb14e68;p=friendica.git Issue 10219: Don't display follow activities --- diff --git a/mod/photos.php b/mod/photos.php index df84384645..d23c454c03 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());