From 0e3a9f46d7938982252cfcdae099893139ca475e Mon Sep 17 00:00:00 2001 From: mattbk Date: Sun, 20 Dec 2015 17:23:18 -0600 Subject: [PATCH] Fix mismatch Closes https://github.com/mattbk/uc_views_attribute_fork/issues/9. --- ...iews_attribute_handler_field_order_product_attribute07.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uc_views/uc_views_attribute/views/uc_views_attribute_handler_field_order_product_attribute07.inc b/uc_views/uc_views_attribute/views/uc_views_attribute_handler_field_order_product_attribute07.inc index b9623fa..942e092 100644 --- a/uc_views/uc_views_attribute/views/uc_views_attribute_handler_field_order_product_attribute07.inc +++ b/uc_views/uc_views_attribute/views/uc_views_attribute_handler_field_order_product_attribute07.inc @@ -22,8 +22,8 @@ class uc_views_attribute_handler_field_order_product_attribute07 extends views_h foreach ($data['attributes'] as $attribute => $option) { $rows[] = t('@option', array('@attribute' => $attribute, '@option' => implode(', ', (array) $option))); if (count($rows)) { - //Grab the value for the sixth attribute. - $result = $rows[5]; + //Grab the value for the seventh attribute. + $result = $rows[6]; } } }