Commit 296531f5 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

omit "AttributeError: 'NoneType' object has no attribute 'replace'" error in log.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26955 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 35092ace
......@@ -136,7 +136,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: (lambda x: field.get_value(\'text_editor\') == \'fck_editor\' and x.replace(\'\\\\\', \'\\\\\\\\\') or x)(here.getTextContent())</string> </value>
<value> <string>python: (lambda x: field.get_value(\'text_editor\') == \'fck_editor\' and x.replace(\'\\\\\', \'\\\\\\\\\') or x)(here.getTextContent() or \'\')</string> </value>
</item>
</dictionary>
</pickle>
......
808
\ No newline at end of file
809
\ 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