From: nickw Date: Tue, 6 Oct 2009 13:53:26 +0000 (+0000) Subject: Fixing a spacing issue with constructed SQL query. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=fa1afa12b70fbf8a7514f681d0903c62135c2ad4;p=lorea%2Felgg.git 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 --- 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";