]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add some whitespace to the qry for tags
authorEvan Prodromou <evan@controlyourself.ca>
Sun, 28 Sep 2008 18:11:21 +0000 (14:11 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Sun, 28 Sep 2008 18:11:21 +0000 (14:11 -0400)
darcs-hash:20080928181121-5ed1f-b8fc9b65bf1180b9a360422caf584d65a5db63c3.gz

classes/Notice_tag.php

index aeaf54683a46b6a9aef88b503db970d9678ace05..e9f00d6d136ceb86d4e26a3d1e9684051ed8cf48 100644 (file)
@@ -39,7 +39,7 @@ class Notice_tag extends Memcached_DataObject
                $qry = 
                  'SELECT notice.* ' .
                  'FROM notice JOIN notice_tag ON notice.id = notice_tag.notice_id ' .
-                 'WHERE notice_tag.tag = "%s"';
+                 'WHERE notice_tag.tag = "%s" ';
 
                return Notice::getStream(sprintf($qry, $tag),
                                                                 'notice_tag:notice_stream:' . $tag,