Closed (fixed)
Project:
Ideal Comments
Version:
7.x-1.0-beta4
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jul 2012 at 13:20 UTC
Updated:
23 Jul 2012 at 16:01 UTC
Downloaded and installed the module. Clicked on 'add new comment' in a teaser view of a node. Took me to /comment/reply/3#comment-form and displayed the following notice.
Notice: Trying to get property of non-object in ideal_comments_form_comment_form_alter() (line 42 of /Users/sirkitree/Sites/drupal-7.14/sites/all/modules/contrib/ideal_comments/ideal_comments.module).
Comments
Comment #1
sirkitree commentedI think this might be because I have the preview disabled and it's trying to attach something to that button.
Comment #2
konforti commentedYes, its could not find the node object on the comment reply page, for making the access check to the AJAX preview.
Fixed on dev: http://drupalcode.org/project/ideal_comments.git/commitdiff/f11c69b40f16...
Thanks for reporting.