In title_field_term_description_submit() there is an iteration trough array('value', 'format'). When setting the "Text processing" of the description of a taxonomy term to "Plain text" the next PHP 5.3 notice pops up because on plain formatting there's no 'format' key.

Notice: Undefined index: format in title_field_term_description_submit() (line 99 of /path/to/drupal/sites/all/modules/title/title.core.inc).

Comments

claudiu.cristea’s picture

Status: Active » Needs review
StatusFileSize
new1.05 KB

Here's a patch.

plach’s picture

Status: Needs review » Fixed
StatusFileSize
new628 bytes

I am not able to reproduce this on PHP 5.3, however the attached patch should fix this in a more performant way.

Committed to 7.x-1.x.

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 75f0709 on 7.x-1.x, workbench by plach:
    Issue #1219860 by plach, claudiu.cristea: Fixed Undefined index 'format...