Skip to content

Commit

Permalink
Update Base.php
Browse files Browse the repository at this point in the history
Revert changes
  • Loading branch information
davidmaack committed Nov 4, 2014
1 parent 5b84331 commit 833c911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MetaModels/Attribute/Base.php
Expand Up @@ -213,7 +213,7 @@ public function set($strKey, $varValue)
$unSerialized = @unserialize($varValue);
// @codingStandardsIgnoreEnd

if (is_array($varValue)) {
if (is_array($unSerialized)) {
$this->arrData[$strKey] = $unSerialized;
} else {
$this->arrData[$strKey] = $varValue;
Expand Down

0 comments on commit 833c911

Please sign in to comment.