From 118a5edebc745fe2760f781c8bb9e9006bf6215f Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 15 Sep 2022 09:19:55 +0000 Subject: fix warnings and regressions --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index d72cf2c16..737e87c66 100644 --- a/boot.php +++ b/boot.php @@ -2145,7 +2145,7 @@ 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, xchan_network from abook left join xchan on abook_xchan = xchan_hash where abook_channel = %d and xchan_deleted = 0", + $r = q("SELECT abook_id, abook_flags, abook_my_perms, abook_their_perms, abook_self, xchan_hash, xchan_photo_m, xchan_name, xchan_url, xchan_network from abook left join xchan on abook_xchan = xchan_hash where abook_channel = %d and xchan_deleted = 0", intval($uid) ); if ($r) { -- cgit v1.2.3