Notice messages pops up when comment controls are turned on. This will show for any visitor that hasn't submitted the form at least once. The patch just checks of their existence.

notice: Undefined property: stdClass::$mode in /DRUPAL-HEAD/modules/comment/comment.module on line 2016.
notice: Undefined index: comment_mode in /DRUPAL-HEAD/modules/comment/comment.module on line 2019.
notice: Undefined property: stdClass::$sort in /DRUPAL-HEAD/modules/comment/comment.module on line 2016.
notice: Undefined index: comment_sort in /DRUPAL-HEAD/modules/comment/comment.module on line 2019.
notice: Undefined property: stdClass::$comments_per_page in /DRUPAL-HEAD/modules/comment/comment.module on line 2016.
notice: Undefined index: comment_comments_per_page in /DRUPAL-HEAD/modules/comment/comment.module on line 2019.
CommentFileSizeAuthor
get_display_setting_notice_1.patch840 bytesdvessel
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)