whitespace in SQL

darcs-hash:20080722161712-84dde-58d69d8861ad6be471ab2403cd5d23942c27eac6.gz
This commit is contained in:
Evan Prodromou 2008-07-22 12:17:12 -04:00
parent 81e6d50c53
commit 2f73f8a5e2
1 changed files with 1 additions and 1 deletions

View File

@ -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);