forked from GNUsocial/gnu-social
correct some SQL and add some spaces
darcs-hash:20080928174316-5ed1f-73bc071fed0aff359c94b4213816e8830eba6c50.gz
This commit is contained in:
parent
4bea5b60a0
commit
f5f9559a60
@ -344,7 +344,7 @@ class User extends Memcached_DataObject
|
||||
$qry =
|
||||
'SELECT notice.* ' .
|
||||
'FROM notice JOIN fave ON notice.id = fave.notice_id ' .
|
||||
'WHERE fave.profile_id = %d ';
|
||||
'WHERE fave.user_id = %d ';
|
||||
|
||||
return Notice::getStream(sprintf($qry, $this->id),
|
||||
'user:faves:'.$this->id,
|
||||
|
Loading…
Reference in New Issue
Block a user