diff --git a/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/WebSection_getProductList.xml b/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/WebSection_getProductList.xml index d5a63696c335b9a9ea5056e65229ca6519439a2b..8d724e9e0ba348d1b0ad46a60882af14affe6fc1 100644 --- a/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/WebSection_getProductList.xml +++ b/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_widget_library/WebSection_getProductList.xml @@ -57,7 +57,7 @@ #the goal of this script is to get all the related product of this section\n \n if (context.getPortalType() != \'Web Section\'):\n - current_web_section = context.REQUEST.get(\'current_web_section\')\n + current_web_section = context.REQUEST.get(\'current_web_section\', context)\n else:\n current_web_section = context\n \n diff --git a/bt5/erp5_commerce/bt/revision b/bt5/erp5_commerce/bt/revision index a3090d211bbafbc4b28678d4a9207c284ae447d9..89a16a7ddc3b772d81302efaab91722efa3e1429 100644 --- a/bt5/erp5_commerce/bt/revision +++ b/bt5/erp5_commerce/bt/revision @@ -1 +1 @@ -168 \ No newline at end of file +172 \ No newline at end of file