[LON-CAPA-cvs] cvs: loncom /interface loncreatecourse.pm

raeburn lon-capa-cvs@mail.lon-capa.org
Mon, 11 Jul 2005 17:52:19 -0000


raeburn		Mon Jul 11 13:52:19 2005 EDT

  Modified files:              
    /loncom/interface	loncreatecourse.pm 
  Log:
  $crsnum and $crsdom are refs to scalars in &construct_course(). 
  
  
Index: loncom/interface/loncreatecourse.pm
diff -u loncom/interface/loncreatecourse.pm:1.80 loncom/interface/loncreatecourse.pm:1.81
--- loncom/interface/loncreatecourse.pm:1.80	Fri Jul  8 10:27:14 2005
+++ loncom/interface/loncreatecourse.pm	Mon Jul 11 13:52:19 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Create a course
 #
-# $Id: loncreatecourse.pm,v 1.80 2005/07/08 14:27:14 www Exp $
+# $Id: loncreatecourse.pm,v 1.81 2005/07/11 17:52:19 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -784,7 +784,7 @@
             foreach my $item (@sections) {
                 my ($sec,$gp) = split/:/,$item;
                 my $class = $args->{'crscode'}.$sec;
-                my $addcheck = &Apache::lonnet::auto_new_course($crsunum,$crsudom,$class,$cenv{'internal.courseowner'});
+                my $addcheck = &Apache::lonnet::auto_new_course($$crsunum,$$crsudom,$class,$cenv{'internal.courseowner'});
                 $cenv{'internal.sectionnums'} .= $item.',';
                 unless ($addcheck eq 'ok') {
                     push @badclasses, $class;