Index: src/system/classes/products/PriceOfferContentView.inc.php IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- src/system/classes/products/PriceOfferContentView.inc.php (revision a39219b52311aa68d39aeebdb913d17768ffe9f3) +++ src/system/classes/products/PriceOfferContentView.inc.php (revision ) @@ -98,22 +98,6 @@ } - /** - * @param array $attributeIds - */ - public function set_attributes_ids_array(array $attributeIds) - { - $ids = array(); - - foreach($attributeIds as $id) - { - $ids[] = (int)$id; - } - - $this->attributes_ids_array = $ids; - } - - protected function get_data() { $this->get_product_data(); @@ -188,7 +172,7 @@ protected function get_price() { - $gmAttrCalc = new GMAttributesCalculator($this->product_id, $this->attributes_ids_array, $this->product_data_array['products_tax_class_id'], $this->propertie_value_ids_array); + $gmAttrCalc = new GMAttributesCalculator($this->product_id, $this->attributes_data_array, $this->product_data_array['products_tax_class_id'], $this->propertie_value_ids_array); $this->product_price = $gmAttrCalc->calculate(1, true); } \ No newline at end of file