Commit 20a0b8f5 authored by Julien Fastré's avatar Julien Fastré
Browse files

take into account during rendering that icpc may not be picked refs #303

parent 58324e7f
......@@ -97,6 +97,10 @@ class CustomFieldICPC2Code implements CustomFieldInterface
{
$code = $this->deserialize($value, $customField);
if (NULL === $code) {
return '';
}
return $this->templating->render("ChillICPC2Bundle:CustomFieldsRendering:"
. "icpc2.html.twig", array(
'icpc' => $code
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment