diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-22 16:21:33 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-22 16:21:33 +0000 |
commit | f4efcff4412723c25ad91916e47219328af99d2e (patch) | |
tree | d68d714c00128901e59ff1c9837044a83346bba1 /engine/lib/relationships.php | |
parent | aaf2027a090954779a563d2581817490df685cb1 (diff) | |
download | elgg-f4efcff4412723c25ad91916e47219328af99d2e.tar.gz elgg-f4efcff4412723c25ad91916e47219328af99d2e.tar.bz2 |
More owner_guid to container_guid transfer
git-svn-id: https://code.elgg.org/elgg/trunk@1494 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/relationships.php')
-rw-r--r-- | engine/lib/relationships.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/relationships.php b/engine/lib/relationships.php index 5313aa841..e3f2c2085 100644 --- a/engine/lib/relationships.php +++ b/engine/lib/relationships.php @@ -478,9 +478,9 @@ if ($subtype) $where[] = "e.subtype=$subtype"; if ($owner_guid != "") - $where[] = "e.owner_guid='$owner_guid'"; + $where[] = "e.container_guid='$owner_guid'"; if ($site_guid > 0) - $where[] = "e.site_guid = {$site_guid}"; + $where[] = "e.container_guid = {$site_guid}"; // Select what we're joining based on the options $joinon = "e.guid = r.guid_one"; |