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

classes/User.php

index 1d8dbc7ab9c87ac7bd87aa007d63415dcda95426..b6689761eec4159faf62fbd15da775fe02a2f197 100644 (file)
@@ -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);