Commit fb2e468e authored by Jérome Perrin's avatar Jérome Perrin

this gap_id.isdigit() check no longer make sense

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25022 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c4095509
......@@ -59,8 +59,8 @@
gap_id = account.Account_getGapId()\n
title = account.getTitle()\n
\n
if gap_id.isdigit():\n
title = "%s - %s"%(gap_id, title)\n
if gap_id:\n
title = "%s - %s" % (gap_id, title)\n
\n
return title\n
</string> </value>
......
841
\ No newline at end of file
842
\ 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