X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FUser.php;h=b6689761eec4159faf62fbd15da775fe02a2f197;hb=42ac47915ba32abcf41d2718b9032e084a7f5f88;hp=1d8dbc7ab9c87ac7bd87aa007d63415dcda95426;hpb=2f73f8a5e228ea697a7beb758f98ef0eb21dd03f;p=quix0rs-gnu-social.git diff --git a/classes/User.php b/classes/User.php index 1d8dbc7ab9..b6689761ee 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);