[LON-CAPA-cvs] cvs: loncom /cgi plot.gif /enrollment Enrollment.pm

raeburn raeburn at source.lon-capa.org
Tue Aug 13 20:38:55 EDT 2013


raeburn		Wed Aug 14 00:38:55 2013 EDT

  Modified files:              
    /loncom/enrollment	Enrollment.pm 
    /loncom/cgi	plot.gif 
  Log:
  - occurred not occured.
  
  
Index: loncom/enrollment/Enrollment.pm
diff -u loncom/enrollment/Enrollment.pm:1.45 loncom/enrollment/Enrollment.pm:1.46
--- loncom/enrollment/Enrollment.pm:1.45	Wed Jul 24 18:21:49 2013
+++ loncom/enrollment/Enrollment.pm	Wed Aug 14 00:38:50 2013
@@ -1,5 +1,5 @@
 # Automated Enrollment manager
-# $Id: Enrollment.pm,v 1.45 2013/07/24 18:21:49 bisitz Exp $
+# $Id: Enrollment.pm,v 1.46 2013/08/14 00:38:50 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -229,7 +229,7 @@
                     my $drop_reply = &Apache::lonnet::modifystudent($dom,$uname,'','','',undef,undef,undef,undef,$$currlist{$uname}[$sec],time,undef,undef,undef,undef,'auto','',$cid,'',$context);
 # re-enroll as auto student
                     if ($drop_reply !~ /^ok/) {
-                            $$logmsg .= &mt('An error occured during the attempt to convert [_1] from a manual type to an auto type student - [_2].',$uname,$drop_reply).$linefeed;
+                            $$logmsg .= &mt('An error occurred during the attempt to convert [_1] from a manual type to an auto type student - [_2].',$uname,$drop_reply).$linefeed;
                     } else {
 # re-enroll as auto student
                         my ($auth,$authparam,$first,$middle,$last,$gene,$usec,$end,$start,$emailaddr,$pid,$emailenc);
@@ -429,7 +429,7 @@
                     } elsif (@saved == 0) {
                         my $drop_reply = &Apache::lonnet::modifystudent($dom,$uname,'','','',undef,undef,undef,undef,$$currlist{$uname}[$sec],time,undef,undef,undef,undef,'auto','',$cid,'',$context);
                         if ($drop_reply !~ /^ok/) {
-                            $$logmsg .= &mt('An error occured during the attempt to expire the [_1] from the old section [_2] - [_3].',$uname,$$currlist{$uname}[$sec],$drop_reply).$linefeed;
+                            $$logmsg .= &mt('An error occurred during the attempt to expire the [_1] from the old section [_2] - [_3].',$uname,$$currlist{$uname}[$sec],$drop_reply).$linefeed;
                         } else {
                             $dropcount ++;
                             my %userenv = &Apache::lonnet::get('environment',['firstname','lastname','id'],$dom,$uname);
Index: loncom/cgi/plot.gif
diff -u loncom/cgi/plot.gif:1.13 loncom/cgi/plot.gif:1.14
--- loncom/cgi/plot.gif:1.13	Tue Aug 28 23:42:05 2007
+++ loncom/cgi/plot.gif	Wed Aug 14 00:38:55 2013
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 #
-# $Id: plot.gif,v 1.13 2007/08/28 23:42:05 albertel Exp $
+# $Id: plot.gif,v 1.14 2013/08/14 00:38:55 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -67,7 +67,7 @@
 
 END
     if (! system ("gnuplot $filename")) {
-        print "<h2>An error occured.</h2>\n".
+        print "<h2>An error occurred.</h2>\n".
             "I am not going to tell you about it as I have not bothered ".
             "to figure out how to get you the error text.\n";
     } else {




More information about the LON-CAPA-cvs mailing list