Index: openacs-4/packages/lorsm/www/admin/course-add-3.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lorsm/www/admin/course-add-3.tcl,v diff -u -N -r1.16 -r1.17 --- openacs-4/packages/lorsm/www/admin/course-add-3.tcl 25 Apr 2018 19:47:47 -0000 1.16 +++ openacs-4/packages/lorsm/www/admin/course-add-3.tcl 9 May 2018 15:33:32 -0000 1.17 @@ -82,7 +82,7 @@ # checks whether the directory given actually exists if {[file exists $fs_dir]} { - set all_files {} + set all_files [list] # now that exists, let's create it on the CR # gets rid of the path and leaves the name of the directory @@ -126,7 +126,7 @@ # for each directory found.. while {[llength $dirx] != 0} { - set collector {} + set collector [list] foreach dir $dirx { # if the dirx loop is 0... @@ -307,7 +307,7 @@ if { ![empty_string_p $organizations] } { # for multiple organizations - set add {} + set add [list] foreach organization [$organizations child all organization] { set org_identifier [lors::imsmd::getResource \ @@ -364,12 +364,12 @@ } - set l_files {} + set l_files [list] set resources [$manifest child all resources] set resourcex [$resources child all resource] if { ![empty_string_p $resourcex] } { - set res_list {} + set res_list [list] foreach resource $resourcex { set res_identifier [lors::imsmd::getResource \