[2.0] Casting options as an array
This commit is contained in:
parent
db5a48e5f4
commit
79393daf25
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ class XmlDriver extends AbstractFileDriver
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($fieldMapping['options'])) {
|
if (isset($fieldMapping['options'])) {
|
||||||
$mapping['options'] = $fieldMapping['options'];
|
$mapping['options'] = (array)$fieldMapping['options'];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($fieldMapping['version']) && $fieldMapping['version']) {
|
if (isset($fieldMapping['version']) && $fieldMapping['version']) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue