diff options
author | friendica <info@friendica.com> | 2014-11-06 23:50:54 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-11-06 23:50:54 -0800 |
commit | f077badcb61777810aed21717092a1793bd79b1d (patch) | |
tree | 25b410ca814414d3a0a200d6b682f81379e0b7c1 /boot.php | |
parent | 4543d3213a38df12dcf2417b5b4588cb5dd59619 (diff) | |
download | volse-hubzilla-f077badcb61777810aed21717092a1793bd79b1d.tar.gz volse-hubzilla-f077badcb61777810aed21717092a1793bd79b1d.tar.bz2 volse-hubzilla-f077badcb61777810aed21717092a1793bd79b1d.zip |
include self in load_contact_links so you don't get a connect menu entry for yourself
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1804,9 +1804,8 @@ function load_contact_links($uid) { // logger('load_contact_links'); - $r = q("SELECT abook_id, abook_flags, abook_my_perms, abook_their_perms, xchan_hash, xchan_photo_m, xchan_name, xchan_url from abook left join xchan on abook_xchan = xchan_hash where abook_channel = %d and not (abook_flags & %d) ", - intval($uid), - intval(ABOOK_FLAG_SELF) + $r = q("SELECT abook_id, abook_flags, abook_my_perms, abook_their_perms, xchan_hash, xchan_photo_m, xchan_name, xchan_url from abook left join xchan on abook_xchan = xchan_hash where abook_channel = %d ", + intval($uid) ); if($r) { foreach($r as $rr){ |