Issue 10219: Don't display follow activities

This commit is contained in:
Michael 2021-05-24 18:04:47 +00:00
parent cf6f9d6c60
commit f00e4c2a4c

View 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());