Skip to content

Commit 8d1d8e4

Browse files
authored
Fix undefined variable in Mage_Catalog_Model_Resource_Abstract (#635)
1 parent 2763efd commit 8d1d8e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/core/Mage/Catalog/Model/Resource/Abstract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ protected function _updateAttributeForStore($object, $attribute, $value, $storeI
365365
$adapter->update($table, $bind, $where);
366366
} else {
367367
$bind = array(
368-
$idField => (int)$object->getId(),
368+
'entity_field_id' => (int)$object->getId(),
369369
'entity_type_id' => (int)$object->getEntityTypeId(),
370370
'attribute_id' => (int)$attribute->getId(),
371371
'value' => $this->_prepareValueForSave($value, $attribute),

0 commit comments

Comments
 (0)