From 6ae69bf17b1997a8f4637794492cd14ec1ccf7f4 Mon Sep 17 00:00:00 2001 From: Yoshinori Okuji <yo@nexedi.com> Date: Tue, 17 Aug 2004 16:15:07 +0000 Subject: [PATCH] Define select_expression even when show_stat is false. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1381 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Form/ListBox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Form/ListBox.py b/product/ERP5Form/ListBox.py index cf62aee8d36..72b6c044a56 100755 --- a/product/ERP5Form/ListBox.py +++ b/product/ERP5Form/ListBox.py @@ -729,9 +729,9 @@ class ListBoxWidget(Widget.Widget): # Prepare the stat select_expression # ############################################################### + select_expression = '' if show_stat: stats = here.portal_selections.getSelectionStats(selection_name, REQUEST=REQUEST) - select_expression = '' index = 0 for (sql,title,alias) in extended_columns: -- 2.30.9