Closed (fixed)
Project:
Forward
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Apr 2008 at 20:26 UTC
Updated:
24 Aug 2008 at 22:23 UTC
when installing the module the Show Forward on comments is unchecked which is the way I want it.
but the link shows on each comment.
work around is to check and save and then uncheck and save to get it to work correctly.
Comments
Comment #1
seanrPlease try CVS HEAD and let me know if that works as expected (you'd probably need to delete the row for forward_display_comments from your variables table to test).
Comment #2
dsp1 commentedi suspect that they forward_link function is not finding the forward_display_comments variable and somehow deciding to make it a 1 anyway.
Comment #3
seanrDid you try the version in CVS HEAD?
Comment #4
thinkyhead commentedComment #2 is correct! Sometimes the module uses variable_get('forward_display_comments', '1') and sometimes it uses variable_get('forward_display_comments', false)... This causes the default value to be "1" in most places, but "0" in the admin form, effectively making the form display the wrong value. This inconsistency exists in the 4.x and 5.x (1.13) versions also.
The fix is to make all instances of variable_get('forward_display_comments', ...) consistent. Personally, I think they should all be changed to variable_get('forward_display_comments', '0') - but who knows, others may prefer it on their comments.
Comment #5
seanrFixed in all branches; may take a while for packages to update. Thanks.
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.