diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-05-28 15:58:51 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-05-28 15:58:51 +0000 |
commit | 75751e197b41670b5223a28c0022d4f0cd4f815a (patch) | |
tree | 8e755aa9c08f674f04754b6827cc8f14bfd69bbc | |
parent | 1d0aeca9e34474e717dc590b0e67daa8c5e8d60a (diff) | |
download | elgg-75751e197b41670b5223a28c0022d4f0cd4f815a.tar.gz elgg-75751e197b41670b5223a28c0022d4f0cd4f815a.tar.bz2 |
Query fixes for previous.
git-svn-id: https://code.elgg.org/elgg/trunk@748 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | engine/lib/tags.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/tags.php b/engine/lib/tags.php index 5ec06105c..8648fb3f8 100644 --- a/engine/lib/tags.php +++ b/engine/lib/tags.php @@ -101,7 +101,7 @@ $access = get_access_list();
- $query = "SELECT {$CONFIG->dbprefix}msvalue.string as tag, count(msvalue.id) as total ";
+ $query = "SELECT msvalue.string as tag, count(msvalue.id) as total ";
$query .= "FROM {$CONFIG->dbprefix}entities e join {$CONFIG->dbprefix}metadata md on md.entity_guid = e.guid ";
$query .= " join {$CONFIG->dbprefix}entity_subtypes subtype on subtype.id = e.subtype ";
$query .= " join {$CONFIG->dbprefix}metastrings msvalue on msvalue.id = md.value_id ";
|