Line 255 in the current 7.x-3.x-dev: $view_mode should be $context['view_mode'].

CommentFileSizeAuthor
#1 diff-1817958-undefined_var.patch1.06 KBles lim

Comments

les lim’s picture

Status: Active » Needs review
StatusFileSize
new1.06 KB

Patch attached.

julien.reulos’s picture

Status: Needs review » Reviewed & tested by the community

Thanks, works as expected.

alan d.’s picture

Status: Reviewed & tested by the community » Needs work

This code has two entry points, from diff_entity_fields_diff() that fixes the notices that you are seeing, and also via some additional code that is going to be dropped.

I'll hopefully find some time to work on this tonight and commit this into 3.x-dev

alan d.’s picture

Status: Needs work » Closed (duplicate)

This code was removed in #1825202: Simplify the Diff settings