Index: openacs-4/packages/lors-central/www/course-add-3.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lors-central/www/course-add-3.tcl,v diff -u -N -r1.4 -r1.5 --- openacs-4/packages/lors-central/www/course-add-3.tcl 25 Apr 2018 19:47:47 -0000 1.4 +++ openacs-4/packages/lors-central/www/course-add-3.tcl 9 May 2018 15:33:32 -0000 1.5 @@ -74,7 +74,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 @@ -152,7 +152,7 @@ # for each directory found.. while {[llength $dirx] != 0} { - set collector {} + set collector [list] foreach dir $dirx { # if the dirx loop is 0... set base_parent_id [lindex $dir 0] @@ -381,7 +381,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 -node $organization -att identifier] @@ -430,15 +430,15 @@ } - 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 -node $resource -att identifier] set res_type [lors::imsmd::getResource -node $resource -att type]