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 @@ ...@@ -59,8 +59,8 @@
gap_id = account.Account_getGapId()\n gap_id = account.Account_getGapId()\n
title = account.getTitle()\n title = account.getTitle()\n
\n \n
if gap_id.isdigit():\n if gap_id:\n
title = "%s - %s"%(gap_id, title)\n title = "%s - %s" % (gap_id, title)\n
\n \n
return title\n return title\n
</string> </value> </string> </value>
......
841 842
\ No newline at end of file \ 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