Commit 4bb86532 authored by Jérome Perrin's avatar Jérome Perrin

Use a safer TALES expression

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19755 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cb14e4f1
......@@ -492,7 +492,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:(cell.section_mark==\'source\' and cell.getStartDate()) or cell.getStopDate()</string> </value>
<value> <string>python:(getattr(cell, \'section_mark\', \'\') ==\'source\' and cell.getStartDate()) or cell.getStopDate()</string> </value>
</item>
</dictionary>
</pickle>
......
636
\ No newline at end of file
637
\ 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