Problem/Motivation

When saving content with a note PHP will log the error:

Warning: Undefined variable $text_processing in editor_note_field_validate() (line 755 of editor_note/editor_note.module).

Steps to reproduce

Create or edit content and add a Editor Note. Save the content and the error will appear.

Proposed resolution

$text_processing should be declared early in the editor_note_field_validate() function with the value FALSE.

Comments

magicmyth created an issue. See original summary.

magicmyth’s picture

Attaching a straight forward patch to resolve the issue.

keshavv’s picture

Status: Active » Needs review

The given patch works to fix the Warning. We can merge the patch.

keshavv’s picture

Status: Needs review » Reviewed & tested by the community