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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3400083-2-editor-notes-undefined-variable-text_processing.patch | 539 bytes | magicmyth |
Comments
Comment #2
magicmyth commentedAttaching a straight forward patch to resolve the issue.
Comment #3
keshavv commentedThe given patch works to fix the Warning. We can merge the patch.
Comment #4
keshavv commented