Skip to content

Commit 4ab76db

Browse files
committed
MAGETWO-65003: [GitHub][PR] Type cast #8077
- Merge Pull Request #8077 from deriknel/magento2:bugfix/currency-config-in-array
2 parents f047d7d + 7139c7a commit 4ab76db

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Config/Model/Config/Backend/Currency/AbstractCurrency.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ protected function _getAllowedCurrencies()
3232
)
3333
);
3434
}
35-
return $this->getData('groups/options/fields/allow/value');
35+
36+
return (array)$this->getData('groups/options/fields/allow/value');
3637
}
3738

3839
/**

0 commit comments

Comments
 (0)