Closed (outdated)
Project:
Custom Breadcrumbs
Version:
6.x-2.x-dev
Component:
custom_breadcrumbs
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jun 2011 at 15:02 UTC
Updated:
17 Jun 2020 at 08:12 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mrfelton commentedIt's because this content type has comments enabled. You are calling custom_breadcrumbs_nodeapi manually from within hook_form_alter on the comment form. Not sure why you do this.
Comment #2
mrfelton commentedI'm guessing this is when people have the comment for to sow on a standalone page rather than on the node form. Attached patch checks if the user is viewing the node, and only calls nodeapi:alter if they are not (ie, they are looking at the comment form on a standalone page).
Comment #3
lamp5