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 52aa0915 authored by Asrar Alam's avatar Asrar Alam Committed by Marcos Garcia

Fix admin config backend model (#521)

parent be3cae75
......@@ -112,11 +112,13 @@ class Installments extends \Magento\Framework\App\Config\Value
protected function _afterLoad()
{
$value = $this->getValue();
$value = $this->serializer->unserialize($value);
if (is_array($value)) {
$value = $this->encodeArrayFieldValue($value);
$this->setValue($value);
if (empty($value)) {
return $this;
}
$value = $this->serializer->unserialize($value);
$value = $this->encodeArrayFieldValue($value);
$this->setValue($value);
return $this;
}
......
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