Selecting "Entity ID" as the field formatter triggers a PHP notice in entityreference_field_formatter_settings_form() because $entity is not initialized.

Notice: Undefined variable: element in entityreference_field_formatter_settings_form() (line 1140 of [...]/sites/all/modules/contrib/entityreference/entityreference.module).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

setvik’s picture

setvik’s picture

Status: Active » Needs review
afdigital’s picture

Patch works for me!

Anybody’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

Patch works and should be committed ASAP. :)

ssoulless’s picture

Priority: Normal » Major

Commit this patch PLEASE!!

oryx’s picture

Still not commited unfortunately.

MorinLuc0’s picture

Status: Reviewed & tested by the community » Fixed

This has been committed to the dev version already. Marking as fixed new release is coming.

Status: Fixed » Closed (fixed)

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