diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-30 16:18:17 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-30 16:18:17 +0000 |
commit | bd152e5fd0fd8972dcf8bd273d119f86fdb2295b (patch) | |
tree | 31faa77d21da5bb5d1bdbb3c687b455c2cd1ca88 /engine/lib/relationships.php | |
parent | 778ddb88bb91e836b1ccf17edc74fabce5d2b8aa (diff) | |
download | elgg-bd152e5fd0fd8972dcf8bd273d119f86fdb2295b.tar.gz elgg-bd152e5fd0fd8972dcf8bd273d119f86fdb2295b.tar.bz2 |
Fix for previous fix for previous fix
git-svn-id: https://code.elgg.org/elgg/trunk@588 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/relationships.php')
-rw-r--r-- | engine/lib/relationships.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/relationships.php b/engine/lib/relationships.php index 4b7e61360..486005c3f 100644 --- a/engine/lib/relationships.php +++ b/engine/lib/relationships.php @@ -408,7 +408,7 @@ $joinon = "e.guid = r.guid_two"; if ($count) {
- $query = "select count(distinct e.id) as total ";
+ $query = "select count(distinct e.guid) as total ";
} else {
$query = "select distinct e.* ";
}
|