another whitespace SQL error
darcs-hash:20080722161752-84dde-aaf5762ef3d376f0e8f335ff8f7811e3162d33fb.gz
This commit is contained in:
parent
2f73f8a5e2
commit
97b1552c9a
|
@ -134,7 +134,7 @@ class User extends DB_DataObject
|
|||
$notice = new Notice();
|
||||
|
||||
$notice->query('SELECT notice.* ' .
|
||||
'FROM notice JOIN subscription on notice.profile_id = subscription.subscribed' .
|
||||
'FROM notice JOIN subscription on notice.profile_id = subscription.subscribed ' .
|
||||
'WHERE subscription.subscriber = ' . $this->id . ' ' .
|
||||
'ORDER BY created DESC, notice.id DESC ' .
|
||||
'LIMIT ' . $offset . ', ' . $limit);
|
||||
|
|
Loading…
Reference in New Issue
Block a user