When entering an incorrect default_value in the autocomplete widget then save the field setting form, the following error occurs :
Notice: Undefined offset: 1 in _entityreference_autocomplete_validate() (line 310 of entityreference/entityreference.module)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jsacksick’s picture

This patch should remove the warning.

Damien Tournoud’s picture

Status: Needs review » Fixed

Thanks for your report and the patch. Merged in a8869b7.

Status: Fixed » Closed (fixed)

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