Skip to content

Commit ef0bfc4

Browse files
authored
Merge pull request #595 from romantomchak/master
Fix xml-attribute-map for the xml driver
2 parents ea2fb10 + c6230be commit ef0bfc4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/JMS/Serializer/Metadata/Driver/XmlDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ protected function loadMetadataFromFile(\ReflectionClass $class, $path)
222222
}
223223

224224
if (isset($pElem->attributes()->{'xml-attribute-map'})) {
225-
$pMetadata->xmlAttribute = 'true' === (string) $pElem->attributes()->{'xml-attribute-map'};
225+
$pMetadata->xmlAttributeMap = 'true' === (string) $pElem->attributes()->{'xml-attribute-map'};
226226
}
227227

228228
if (isset($pElem->attributes()->{'xml-value'})) {

0 commit comments

Comments
 (0)