]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
whitespace in SQL
authorEvan Prodromou <evan@prodromou.name>
Tue, 22 Jul 2008 16:17:12 +0000 (12:17 -0400)
committerEvan Prodromou <evan@prodromou.name>
Tue, 22 Jul 2008 16:17:12 +0000 (12:17 -0400)
darcs-hash:20080722161712-84dde-58d69d8861ad6be471ab2403cd5d23942c27eac6.gz

classes/User.php

index 4f46653e4383afdfbb7bead0751a9df902122ea9..1d8dbc7ab9c87ac7bd87aa007d63415dcda95426 100644 (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);