aboutsummaryrefslogtreecommitdiffstats
path: root/include/follow.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-01 20:59:53 -0700
committerfriendica <info@friendica.com>2014-09-01 20:59:53 -0700
commit688722de5bf928c53fa694e0469f81c4ac2b646d (patch)
tree441e364bdf0a3647e9ff737fdbb6af3476695acd /include/follow.php
parent5aa18a11af4ec4d40834abdcc06c2914f9296eb5 (diff)
downloadvolse-hubzilla-688722de5bf928c53fa694e0469f81c4ac2b646d.tar.gz
volse-hubzilla-688722de5bf928c53fa694e0469f81c4ac2b646d.tar.bz2
volse-hubzilla-688722de5bf928c53fa694e0469f81c4ac2b646d.zip
fix phantom attachments in feeds
Diffstat (limited to 'include/follow.php')
-rw-r--r--include/follow.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/follow.php b/include/follow.php
index cf6bfde77..e6c42aad1 100644
--- a/include/follow.php
+++ b/include/follow.php
@@ -181,7 +181,7 @@ function new_contact($uid,$url,$channel,$interactive = false, $confirm = false)
return $result;
}
- $r = q("select count(*) as total from abook where abook_account = %d and abook_network = 'rss'",
+ $r = q("select count(*) as total from abook where abook_account = %d and ( abook_flags & ABOOK_FLAG_FEED )",
intval($aid)
);
if($r)