浏览代码

[Form] Fixed validation.xml

Bernhard Schussek 14 年之前
父节点
当前提交
71230a094b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Symfony/Component/Form/Resources/config/validation.xml

+ 1 - 1
src/Symfony/Component/Form/Resources/config/validation.xml

@@ -7,7 +7,7 @@
   <class name="Symfony\Component\Form\Field">
     <getter property="transformationSuccessful">
       <constraint name="AssertTrue">
-        <option name="message">This value is invalid</option>
+        <option name="message"><value>This value is invalid</value></option>
       </constraint>
     </getter>
   </class>