[LON-CAPA-cvs] cvs: loncom(version_2_9_X) /interface loncreateuser.pm

raeburn raeburn@source.lon-capa.org
Fri, 19 Mar 2010 21:59:54 -0000


raeburn		Fri Mar 19 21:59:54 2010 EDT

  Modified files:              (Branch: version_2_9_X)
    /loncom/interface	loncreateuser.pm 
  Log:
  - Backport 1.335.
  
  
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.295.2.29 loncom/interface/loncreateuser.pm:1.295.2.30
--- loncom/interface/loncreateuser.pm:1.295.2.29	Wed Jan 20 14:59:27 2010
+++ loncom/interface/loncreateuser.pm	Fri Mar 19 21:59:53 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Create a user
 #
-# $Id: loncreateuser.pm,v 1.295.2.29 2010/01/20 14:59:27 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.295.2.30 2010/03/19 21:59:53 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1456,6 +1456,8 @@
             $newkey .= '_'.$newrole;
             if ($start ne '' && $end ne '') {
                 $newvalue .= '_'.$end.'_'.$start;
+            } elsif ($end ne '') {
+                $newvalue .= '_'.$end;
             }
             $rolesdump{$newkey} = $newvalue;
         }