Undefined variable $text_processing in editor_note_field_validate()

Created on 8 November 2023, about 1 year ago
Updated 9 November 2023, about 1 year ago

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.

🐛 Bug report
Status

RTBC

Version

1.7

Component

Code

Created by

🇬🇧United Kingdom magicmyth

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024