doco
This commit is contained in:
parent
440a3fea3f
commit
a587d550b9
1 changed files with 7 additions and 1 deletions
|
@ -34,6 +34,12 @@ function dfrn_poll_init(&$a) {
|
||||||
|
|
||||||
if(count($r)) {
|
if(count($r)) {
|
||||||
foreach($r as $rr) {
|
foreach($r as $rr) {
|
||||||
|
|
||||||
|
// On a multi-user site, the query above *may* have returned two results.
|
||||||
|
// One of those could be the logged-in user who is now visiting "this" cell,
|
||||||
|
// as both share the dfrn_id. We will skip that entry if it unfortunately
|
||||||
|
// happens to come up first.
|
||||||
|
|
||||||
if(local_user() && ($rr['uid'] == get_uid()))
|
if(local_user() && ($rr['uid'] == get_uid()))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue