aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-06 13:53:26 +0000
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-06 13:53:26 +0000
commitfa1afa12b70fbf8a7514f681d0903c62135c2ad4 (patch)
tree7dc93484eb90ee95738dc5c1e4043e2009993fef
parentb97fe4a19a066458e392299291a8c7ba75431532 (diff)
downloadelgg-fa1afa12b70fbf8a7514f681d0903c62135c2ad4.tar.gz
elgg-fa1afa12b70fbf8a7514f681d0903c62135c2ad4.tar.bz2
Fixing a spacing issue with constructed SQL query.
Closes #1295. git-svn-id: http://code.elgg.org/elgg/trunk@3510 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/annotations.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php
index 028c33006..d0862345d 100644
--- a/engine/lib/annotations.php
+++ b/engine/lib/annotations.php
@@ -462,7 +462,7 @@
}
$query .= "from {$CONFIG->dbprefix}annotations a JOIN {$CONFIG->dbprefix}entities e on e.guid = a.entity_guid ";
if ($value != "")
- $query .= " JOIN {$CONFIG->dbprefix}metastrings v on a.value_id=v.id";
+ $query .= " JOIN {$CONFIG->dbprefix}metastrings v on a.value_id=v.id ";
if (($group_guid != 0) && ($entity_type=='object')) $query .= "JOIN {$CONFIG->dbprefix}objects_entity o on o.guid = e.guid";
$query .= " where";