Skip to content

Commit

Permalink
[2] Move deprecated PropertyAccess::getPropertyAccessor() in sf2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
genemu committed Dec 14, 2014
1 parent a3f4b91 commit ed7556f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Form/Doctrine/ChoiceList/AjaxEntityChoiceList.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function getIntersect(array $ids)
$id = current($this->classMetadata->getIdentifierValues($entity));

if ($this->propertyPath) {
$label = PropertyAccess::getPropertyAccessor()->getValue($entity, $this->propertyPath);
$label = PropertyAccess::createPropertyAccessor()->getValue($entity, $this->propertyPath);
} else {
$label = (string) $entity;
}
Expand Down

0 comments on commit ed7556f

Please sign in to comment.