The view and edit variables aren't initialized before the permissions are computed on each field. That means when I run my site in E_ALL, I get at least two notices for each field I have on a content type.

My editor strips trailing whitespace, so the first three changes in the patch are just whitespace.

Comments

infojunkie’s picture

Status: Needs review » Fixed

Thanks for the patch! Committed.

Status: Fixed » Closed (fixed)

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