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 -r1.2.2.1 -r1.2.2.2 --- openacs-4/packages/lorsm/www/admin/course-add-3.tcl 13 Feb 2007 09:32:21 -0000 1.2.2.1 +++ openacs-4/packages/lorsm/www/admin/course-add-3.tcl 10 Jul 2007 15:58:08 -0000 1.2.2.2 @@ -90,7 +90,12 @@ # We need to separate folders (since now all are cr_items) one for the files (content) and the other # one for the created cr_items - set new_parent_id [lors::cr::add_folder -parent_id $parent_id -folder_name $cr_dir] + + if { [ catch {set new_parent_id [lors::cr::add_folder -parent_id $parent_id -folder_name $cr_dir]} errMsg] } { + ns_write "