Commit cc154770 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

ERP5Type/Base: fix typo candate->candidate

parent 8975c0df
......@@ -3200,7 +3200,7 @@ class Base( CopyContainer,
pass
if candidate is not None:
return candate
return candidate
if getattr(aq_base(self), 'CreationDate', None) is not None:
return asDate(self.CreationDate())
return None # JPS-XXX - try to find a way to return a creation date instead of None
......
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