[LON-CAPA-cvs] cvs: modules /gerd signon.pl

www lon-capa-cvs@mail.lon-capa.org
Mon, 04 Nov 2002 19:38:47 -0000


www		Mon Nov  4 14:38:47 2002 EDT

  Modified files:              
    /modules/gerd	signon.pl 
  Log:
  Bug 696 - demo role was not properly assigned.
  
  
Index: modules/gerd/signon.pl
diff -u modules/gerd/signon.pl:1.5 modules/gerd/signon.pl:1.6
--- modules/gerd/signon.pl:1.5	Thu Jul 25 15:00:55 2002
+++ modules/gerd/signon.pl	Mon Nov  4 14:38:46 2002
@@ -135,10 +135,8 @@
 
 sub assignrole {
     my ($uname,$url,$role,$end,$start)=@_;
-    my $mrole;
-
     my $command="encrypt:rolesput:$demodomain:auto:".
-                "$demodomain:$uname:$url".'_'."$mrole=$role";
+                "$demodomain:$uname:$url".'_'."$role=$role";
     if ($end) { $command.='_'.$end; }
     if ($start) {
 	if ($end) {