From 2b74ad2a779fc787644eb42ac4c0d072e3ae2c46 Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 24 Jul 2008 15:48:42 +0000 Subject: Introducing the (still issue-packed) friend picker. git-svn-id: https://code.elgg.org/elgg/trunk@1511 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/relationships.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/relationships.php') diff --git a/engine/lib/relationships.php b/engine/lib/relationships.php index e3f2c2085..142861a97 100644 --- a/engine/lib/relationships.php +++ b/engine/lib/relationships.php @@ -480,7 +480,7 @@ if ($owner_guid != "") $where[] = "e.container_guid='$owner_guid'"; if ($site_guid > 0) - $where[] = "e.container_guid = {$site_guid}"; + $where[] = "e.site_guid = {$site_guid}"; // Select what we're joining based on the options $joinon = "e.guid = r.guid_one"; -- cgit v1.2.3