Closed (fixed)
Project:
Node Comments
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Oct 2008 at 00:03 UTC
Updated:
23 Oct 2008 at 02:03 UTC
The nodecomment_render function has the same comment_render default args. However, the comparison of the $cid argument differs. Whereas comment_render performs:
if ($cid && is_numeric($cid)) {
nodecomment_render performs:
if (is_numeric($cid)) {
As the default $cid argument is 0, this can cause issues. This does not normally show up since node_page_view has $cid set to NULL by default, but under certain circumstances, this bug can show up.
Comments
Comment #1
sirkitree commentedThanks, fixed in the branch.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.