Skip to content

Commit 8b0c0b9

Browse files
authored
Reset array on product reset (OpenMage#1582)
1 parent 3f1d612 commit 8b0c0b9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/code/core/Mage/Catalog/Model/Product.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2272,6 +2272,9 @@ protected function _clearData()
22722272
$this->_options = array();
22732273
$this->_canAffectOptions = false;
22742274
$this->_errors = array();
2275+
$this->_defaultValues = array();
2276+
$this->_storeValuesFlags = array();
2277+
$this->_lockedAttributes = array();
22752278

22762279
return $this;
22772280
}

0 commit comments

Comments
 (0)