summaryrefslogtreecommitdiff
path: root/classes/User.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-22 12:17:52 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-22 12:17:52 -0400
commit97b1552c9a02a0f11118685f5d9475941ba81454 (patch)
tree03049e2b7d4703efb153503ec2aa095e57ade640 /classes/User.php
parent2f73f8a5e228ea697a7beb758f98ef0eb21dd03f (diff)
another whitespace SQL error
darcs-hash:20080722161752-84dde-aaf5762ef3d376f0e8f335ff8f7811e3162d33fb.gz
Diffstat (limited to 'classes/User.php')
-rw-r--r--classes/User.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/User.php b/classes/User.php
index 1d8dbc7ab..b6689761e 100644
--- a/classes/User.php
+++ b/classes/User.php
@@ -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);