Commit f94da3b7 authored by Nicolas Delaby's avatar Nicolas Delaby

Do not try to validate empty TALES expression

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43556 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5d2dd07c
......@@ -52,7 +52,8 @@
<key> <string>_body</string> </key>
<value> <string>from Products.ERP5Type.Utils import isValidTALESExpression\n
from Products.Formulator.Errors import ValidationError\n
\n
if not value:\n
return True\n
valid, message = isValidTALESExpression(value)\n
if valid:\n
return True\n
......
40899
\ No newline at end of file
40900
\ No newline at end of file
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