We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b892c01 + 3e7acd3 commit 7d41defCopy full SHA for 7d41def
1 file changed
src/app/code/community/FireGento/AdminMonitoring/Model/History/Data.php
@@ -61,8 +61,8 @@ public function getSerializedContent()
61
public function getContent()
62
{
63
// have to re-load the model as based on database datatypes the format of values changes
64
- $className = get_class($this->_savedModel);
65
- $model = new $className;
+ $model = clone $this->_savedModel;
+ $model->setData(array());
66
67
// Add store id if given
68
if ($storeId = $this->_savedModel->getStoreId()) {
0 commit comments