From: Evan Prodromou Date: Tue, 22 Jul 2008 16:17:12 +0000 (-0400) Subject: whitespace in SQL X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2f73f8a5e228ea697a7beb758f98ef0eb21dd03f;p=quix0rs-gnu-social.git whitespace in SQL darcs-hash:20080722161712-84dde-58d69d8861ad6be471ab2403cd5d23942c27eac6.gz --- diff --git a/classes/User.php b/classes/User.php index 4f46653e43..1d8dbc7ab9 100644 --- a/classes/User.php +++ b/classes/User.php @@ -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);