Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
comment.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Dec 2005 at 18:00 UTC
Updated:
13 May 2006 at 16:46 UTC
With code like:
$order = $user->sort ? $user->sort : .....
and
$mode = $user->mode ? $user->mode : .....
you're going to get totally different behavior if your comment mode is set to COMMENT_MODE_FLAT_COLLAPSED or your sort is set to COMMENT_ORDER_NEWEST_FIRST (the constants are set to 0), which can't possibly be right.
Comments
Comment #1
chx commentednow they are 1 based again.
Comment #2
(not verified) commented