From 0814da741888b453c8e3334eaa045dee1eb76cfd Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Fri, 12 Nov 2010 16:03:49 +0000 Subject: [PATCH] fix a misusage of str.split(). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40247 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_web_blog/WebSection_getPublicationSectionList.xml | 2 +- bt5/erp5_web_blog/bt/revision | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bt5/erp5_web_blog/SkinTemplateItem/portal_skins/erp5_web_blog/WebSection_getPublicationSectionList.xml b/bt5/erp5_web_blog/SkinTemplateItem/portal_skins/erp5_web_blog/WebSection_getPublicationSectionList.xml index e33c453409..26134d448c 100644 --- a/bt5/erp5_web_blog/SkinTemplateItem/portal_skins/erp5_web_blog/WebSection_getPublicationSectionList.xml +++ b/bt5/erp5_web_blog/SkinTemplateItem/portal_skins/erp5_web_blog/WebSection_getPublicationSectionList.xml @@ -57,7 +57,7 @@ publication_section_list=[]\n if \'publication_section\' not in context.getMembershipCriterionBaseCategoryList():\n return publication_section_list\n for category in context.getMembershipCriterionCategoryList():\n - base_category, category_id = category.split(\'/\', 2)\n + base_category, category_id = category.split(\'/\', 1)\n if base_category == \'publication_section\':\n publication_section_list.append(category_id)\n return publication_section_list\n diff --git a/bt5/erp5_web_blog/bt/revision b/bt5/erp5_web_blog/bt/revision index 9d1ce53f8c..24af08a487 100644 --- a/bt5/erp5_web_blog/bt/revision +++ b/bt5/erp5_web_blog/bt/revision @@ -1 +1 @@ -82 \ No newline at end of file +83 \ No newline at end of file -- 2.30.9