fix phantom attachments in feeds

This commit is contained in:
friendica
2014-09-01 20:59:53 -07:00
parent 5aa18a11af
commit 688722de5b
2 changed files with 2 additions and 2 deletions

View File

@@ -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)