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