conditional_fields.module contains the following lines of code which may cause PHP to issue notices about undefined indexes:

Undefined index: __ in conditional_fields_item_in_form() (line 858 of conditional_fields.module).
Undefined index: __ in conditional_fields_item_in_form() (line 866 of conditional_fields.module).
Undefined index: __ in conditional_fields_node_editing_form_validate() (line 927 of conditional_fields.module).
Undefined index: __ in conditional_fields_node_editing_form_validate() (line 955 of conditional_fields.module).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pdrake’s picture

Fix for all 4 undefined index notices.

pdrake’s picture

The above patch (for 6.x-2.x-dev) does not apply cleanly to 6.x-2.0. This patch is for anyone running 6.x-2.0 and may otherwise be ignored.

pdrake’s picture

Status: Active » Needs review
emair’s picture

I've also experienced this issue and applied the patch from #2 to version 6.x-2.0 which fixed most of the errors. However, not all of them were gone. I've attached another patch which fixes undefined index notices from lines 216, 229 and 230.

flacoman91’s picture

Issue summary: View changes

Any way we can get this rolled into the dev or release version?

peterpoe’s picture

Status: Needs review » Closed (outdated)