Commit a01a87a7 authored by Ivan Tyagov's avatar Ivan Tyagov

Typo fix (thanks Jerome)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14249 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a167d713
......@@ -714,7 +714,7 @@ class Document(XMLObject, UrlMixIn, ConversionCacheMixin, SnapshotMixin):
reference=self.getReference(),
version=self.getVersion(),
language=self.getLanguage(),
validation_state="<> cancelled"
validation_state="!=cancelled"
)[0][0]
# If self is not indexed yet, then if count == 1, version is not unique
return count <= self_count
......
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