Index: openacs-4/packages/invoices/www/mass-invoice.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/invoices/www/mass-invoice.tcl,v diff -u -r1.11 -r1.12 --- openacs-4/packages/invoices/www/mass-invoice.tcl 26 Apr 2018 08:56:38 -0000 1.11 +++ openacs-4/packages/invoices/www/mass-invoice.tcl 9 May 2018 15:33:31 -0000 1.12 @@ -20,10 +20,10 @@ set date_format "YYYY-MM-DD" set has_submit 0 set has_edit 0 -set offer_ids {} -set files {} -set failed_project_ids {} -set failed_invoice_ids {} +set offer_ids [list] +set files [list] +set failed_project_ids [list] +set failed_invoice_ids [list] if {$__new_p} { set project_id [string trim $project_id "{}"] @@ -54,7 +54,7 @@ set project_title 0 set total_amount 0. set total_credit 0. - set offer_ids {} + set offer_ids [list] ##### INSERT INVOICE ################# @@ -260,7 +260,7 @@ if {![string eq $recipient_id $contact_id]} { set document_types opening } else { - set document_types {} + set document_types [list] } if {$total_amount >= 0} {