- Patch #26966 by catch: fixed query.

merge-requests/26/head
Dries Buytaert 2009-06-30 09:57:57 +00:00
parent 8f817bf9a8
commit 98e504e8f4
1 changed files with 1 additions and 1 deletions

View File

@ -1398,7 +1398,7 @@ function comment_get_display_ordinal($cid, $node_type) {
// For flat comments, cid is used for ordering comments due to
// unpredicatable behavior with timestamp, so we make the same assumption
// here.
$query->condition('c1.cid', 'c2.cid', '<');
$query->condition('c1.cid', $cid, '<');
}
else {
// For threaded comments, the c.thread column is used for ordering. We can