Commit 79393daf authored by jwage's avatar jwage

[2.0] Casting options as an array

parent db5a48e5
...@@ -138,7 +138,7 @@ class XmlDriver extends AbstractFileDriver ...@@ -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']) {
......
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