Notice: Undefined variable: element in commerce_product_reference_field_formatter_settings_form() (line 636 of sites/all/modules/commerce/modules/product_reference/commerce_product_reference.module)
Hello,
I am getting this notice when adding a commerce product reference field to a Views and selecting the SKU formatter.
Comments
Comment #1
rszrama commentedIt was simply an array needing initialization; it had no effect on the display, but the array was only getting created when the "Rendered product" display formatter was selected.
Easy commit: http://drupalcode.org/project/commerce.git/commitdiff/f027e37