From f53d6f5cccf2530aaab9b0c761f40d19ab8b25d1 Mon Sep 17 00:00:00 2001
From: Helior Colorado <me@helior.info>
Date: Mon, 30 Apr 2012 20:54:44 -0700
Subject: [PATCH] Added required parameters to _options_get_options;

---
 modules/cart/commerce_cart.module |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/cart/commerce_cart.module b/modules/cart/commerce_cart.module
index 6235f7b..d25796c 100644
--- a/modules/cart/commerce_cart.module
+++ b/modules/cart/commerce_cart.module
@@ -1650,7 +1650,7 @@ function commerce_cart_add_to_cart_form($form, &$form_state, $line_item, $show_q
 
             // Otherwise just use the base language values.
             if (empty($allowed_values)) {
-              $allowed_values = _options_get_options($field, $instance, $properties);
+              $allowed_values = _options_get_options($field, $instance, $properties, 'commerce_product', $default_product);
             }
 
             // Only consider this field a qualifying attribute field if we could
-- 
1.7.6

