Skip to content

Commit b315f85

Browse files
authored
Fixed bug caused by #2605 (#2625)
1 parent 111a92f commit b315f85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@ public function quickCreateAction()
10601060
$result['attributes'] = [];
10611061

10621062
/** @var Mage_Catalog_Model_Product_Type_Configurable $productType */
1063-
$productType = $product->getTypeInstance();
1063+
$productType = $configurableProduct->getTypeInstance();
10641064
foreach ($productType->getConfigurableAttributes() as $attribute) {
10651065
$value = $product->getAttributeText($attribute->getProductAttribute()->getAttributeCode());
10661066
$autogenerateOptions[] = $value;

0 commit comments

Comments
 (0)