When you are defining a new customer profile with the addressfield attribute to FALSE a warning is displayed because of commerce trying to translate a field which is not there.
Commerce should not try to translate this field if it's not attached to the profile.

CommentFileSizeAuthor
#1 fix_warning-1266482.patch1.98 KBartusamak

Comments

artusamak’s picture

StatusFileSize
new1.98 KB
rszrama’s picture

Status: Needs review » Fixed

Alrighty, committed a fix to just move the !empty() check up one level.

Commit: http://drupalcode.org/project/commerce.git/commitdiff/a2ff90d

Status: Fixed » Closed (fixed)

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