]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixing a spacing issue with constructed SQL query.
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 6 Oct 2009 13:53:26 +0000 (13:53 +0000)
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 6 Oct 2009 13:53:26 +0000 (13:53 +0000)
Closes #1295.

git-svn-id: http://code.elgg.org/elgg/trunk@3510 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/annotations.php

index 028c330065bcf53b7be1766d5f816377770e115c..d0862345d7d036b09ab31bba02c3e51748074440 100644 (file)
                }
                $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";