projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81e6d50
)
whitespace in SQL
author
Evan Prodromou
<evan@prodromou.name>
Tue, 22 Jul 2008 16:17:12 +0000
(12:17 -0400)
committer
Evan Prodromou
<evan@prodromou.name>
Tue, 22 Jul 2008 16:17:12 +0000
(12:17 -0400)
darcs-hash:
20080722161712
-84dde-
58d69d8861ad6be471ab2403cd5d23942c27eac6
.gz
classes/User.php
patch
|
blob
|
history
diff --git
a/classes/User.php
b/classes/User.php
index 4f46653e4383afdfbb7bead0751a9df902122ea9..1d8dbc7ab9c87ac7bd87aa007d63415dcda95426 100644
(file)
--- a/
classes/User.php
+++ b/
classes/User.php
@@
-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);