Closed (duplicate)
Project:
Drupal core
Version:
x.y.z
Component:
comment.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2005 at 20:40 UTC
Updated:
3 Nov 2005 at 07:37 UTC
current cvs, comment.module, line 897.
if (db_num_rows($result) && (variable_get('comment_controls', 3) == 1 || variable_get('comment_controls', 3) == 3)) {
this shows comment controls at the bottom for values 1 (below) and 3 (do not display). the 2nd == should check for value 2 (both above and below).
Comments
Comment #1
asimmonds commentedDuplicate of / related to http://drupal.org/node/34295 ?
I think these numbers used to refer to the comment control position should be constants, it's too confusing otherwise. If I get some time, I'll file a patch to change them.
Comment #2
mindless commentedyes, the second portion of that report is the same as what i describe here.
Comment #3
dries commentedIt would be a good idea to introduce some defines.
Comment #4
asimmonds commentedI'm settings this as duplicate as I've put a defines patch on to http://drupal.org/node/34295, fixing this bug as well.