From: Evan Prodromou Date: Tue, 22 Jul 2008 16:17:52 +0000 (-0400) Subject: another whitespace SQL error X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=97b1552c9a02a0f11118685f5d9475941ba81454;p=quix0rs-gnu-social.git another whitespace SQL error darcs-hash:20080722161752-84dde-aaf5762ef3d376f0e8f335ff8f7811e3162d33fb.gz --- 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);