[Form] Removed undefined variables in exception constructor

This commit is contained in:
Bernhard Schussek 2012-02-07 10:47:01 +01:00
parent 5676a91b8d
commit b9facfc5ae
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ class ChoicesToBooleanArrayTransformer implements DataTransformerInterface
}
if (count($unknown) > 0) {
throw new TransformationFailedException('The choices "' . implode('", "', $unknown, $code, $previous) . '" where not found');
throw new TransformationFailedException('The choices "' . implode('", "', $unknown) . '" where not found');
}
return $result;