forked from GNUsocial/gnu-social
add some whitespace to the qry for tags
darcs-hash:20080928181121-5ed1f-b8fc9b65bf1180b9a360422caf584d65a5db63c3.gz
This commit is contained in:
parent
8ae0b4a132
commit
dbcd7cd29c
@ -39,7 +39,7 @@ class Notice_tag extends Memcached_DataObject
|
|||||||
$qry =
|
$qry =
|
||||||
'SELECT notice.* ' .
|
'SELECT notice.* ' .
|
||||||
'FROM notice JOIN notice_tag ON notice.id = notice_tag.notice_id ' .
|
'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),
|
return Notice::getStream(sprintf($qry, $tag),
|
||||||
'notice_tag:notice_stream:' . $tag,
|
'notice_tag:notice_stream:' . $tag,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user