Commit 98e504e8 authored by Dries's avatar Dries
Browse files

- Patch #26966 by catch: fixed query.

parent 8f817bf9
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment