We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit 28c7bccf authored by Mark Wienk's avatar Mark Wienk

Dont parse configuration if it is serialized

parent 9d791b45
...@@ -64,7 +64,7 @@ class Installments extends \Magento\Framework\App\Config\Value ...@@ -64,7 +64,7 @@ class Installments extends \Magento\Framework\App\Config\Value
$value = $this->getValue(); $value = $this->getValue();
$unserialized = @unserialize($value); $unserialized = @unserialize($value);
if ($unserialized !== false) { if ($unserialized !== false) {
$value = $unserialized; return $this;
} }
$result = []; $result = [];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment