some minor cleanup of unreported (and as yet undiscovered) issues with permissions toggling. No smoking guns and no obvious issues discovered here. Repeated and tried to duplicate zottell's issue as described without seeing any obvious problems.
This commit is contained in:
@@ -203,8 +203,9 @@ 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_flags & ABOOK_FLAG_FEED )",
|
||||
intval($aid)
|
||||
$r = q("select count(*) as total from abook where abook_account = %d and ( abook_flags & %d )",
|
||||
intval($aid),
|
||||
intval(ABOOK_FLAG_FEED)
|
||||
);
|
||||
if($r)
|
||||
$total_feeds = $r[0]['total'];
|
||||
|
Reference in New Issue
Block a user