1
0
Fork 0
mirror of synced 2025-04-03 13:23:37 +03:00

[2.0] Casting options as an array

This commit is contained in:
jwage 2009-09-08 20:58:11 +00:00
parent db5a48e5f4
commit 79393daf25

View file

@ -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']) {