sonata-project/SonataAdminBundle — pull request #498 by studip101 (2012-01-14 14:38:21+00:00)
Title: Fixed Two Minor Bugs in ShowMapper

First, if $name is a FieldDescription, ShowMapper now gets the string representation ($name->getName()) and uses that as the array key, rather than the object (which was illegal).

Second, I replaced a call to getLabel(), which doesn't exist, with a call to getOption('label').