Commit c9694d40 authored by Sebastien Robin's avatar Sebastien Robin

make sure category id does not have any _ at the end


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2163 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6e46ac3a
...@@ -140,6 +140,7 @@ class ERP5ShopOrderConduit(ERP5Conduit): ...@@ -140,6 +140,7 @@ class ERP5ShopOrderConduit(ERP5Conduit):
if char != None: if char != None:
out += char out += char
# LOG('Category name output (using str2id) >>>>>>> ', 0, out) # LOG('Category name output (using str2id) >>>>>>> ', 0, out)
out = out.strip('_')
return out return out
......
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