Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Product reference
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2013 at 05:59 UTC
Updated:
22 Feb 2013 at 18:21 UTC
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