Commit d21e9791 authored by Sebastien Robin's avatar Sebastien Robin

fix of a stupid bug introduced by myself

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14555 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f400674c
......@@ -139,7 +139,7 @@ for check_reference in reference_list:\n
msg = Message(domain = "ui", message="Sorry, this reference does not exist")\n
raise ValidationFailed, (msg,)\n
\n
elif result_len >= 1:\n
elif result_len > 1:\n
msg = Message(domain=\'ui\', message=\'Duplicate checks for the same check number\')\n
raise ValidationFailed, (msg,)\n
\n
......
223
\ No newline at end of file
225
\ 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