From 37653a376085e7f155ec101b937583f5d08012cc Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 1 Nov 2012 22:23:13 -0700 Subject: grrr... hashes aren't matching. --- mod/abook.php | 2 +- mod/settings.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'mod') diff --git a/mod/abook.php b/mod/abook.php index 51cebd160..3d73217f1 100644 --- a/mod/abook.php +++ b/mod/abook.php @@ -509,7 +509,7 @@ EOT; } - $r = q("SELECT abook.*, xchan.* FROM abook left join xchan on abook.abook_chan = xchan.xchan_hash + $r = q("SELECT abook.*, xchan.* FROM abook left join xchan on abook.abook_xchan = xchan.xchan_hash WHERE abook_channel = %d and not (abook_flags & %d) $sql_extra $sql_extra2 ORDER BY xchan_name LIMIT %d , %d ", intval(local_user()), intval(ABOOK_FLAG_SELF), diff --git a/mod/settings.php b/mod/settings.php index 6c31242f6..3e8134d5c 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -719,7 +719,7 @@ function settings_content(&$a) { $channel = $a->get_channel(); - global $global_perms; + $global_perms = get_perms(); $perms = perms_text(); $permiss = array(); -- cgit v1.2.3