Skip to content

Commit

Permalink
[Form] fixed transformation failed exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Holmes committed May 4, 2011
1 parent 2e5bd42 commit dd692c0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -70,7 +70,7 @@ public function reverseTransform($key)
}

if (!($entity = $this->choiceList->getEntity($key))) {
throw new TransformationFailedException('The entity with key "%s" could not be found', $key);
throw new TransformationFailedException(sprintf('The entity with key "%s" could not be found', $key));
}

return $entity;
Expand Down

0 comments on commit dd692c0

Please sign in to comment.