[LON-CAPA-cvs] cvs: loncom /auth lonroles.pm

raeburn raeburn at source.lon-capa.org
Mon Dec 31 22:45:13 EST 2012


raeburn		Tue Jan  1 03:45:13 2013 EDT

  Modified files:              
    /loncom/auth	lonroles.pm 
  Log:
  - Fix typo in rev. 1.277.
  - Remove whitespace.
  
  
Index: loncom/auth/lonroles.pm
diff -u loncom/auth/lonroles.pm:1.279 loncom/auth/lonroles.pm:1.280
--- loncom/auth/lonroles.pm:1.279	Tue Jan  1 03:06:27 2013
+++ loncom/auth/lonroles.pm	Tue Jan  1 03:45:13 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # User Roles Screen
 #
-# $Id: lonroles.pm,v 1.279 2013/01/01 03:06:27 raeburn Exp $
+# $Id: lonroles.pm,v 1.280 2013/01/01 03:45:13 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -602,7 +602,7 @@
                                                 }
                                             } else {
                                                 if ($destsymb eq '') {
-                                                    ($destsymb) = ($dest =~ /(:\?|\&)symb=([^\&]+)/);
+                                                    ($destsymb) = ($dest =~ /(?:\?|\&)symb=([^\&]+)/);
                                                     $destsymb = &unescape($destsymb);
                                                 }
                                                 unless ($env{'request.role.adv'}) {
@@ -2683,7 +2683,6 @@
             push(@links,["javascript:rolesView('showall');",'edit-undo-22x22',&mt('Include expired roles')]);
         }
     }
-    
     my $funcs = &Apache::lonhtmlcommon::start_funclist();
     foreach my $link (@links) {
         $funcs .= &Apache::lonhtmlcommon::add_item_funclist(




More information about the LON-CAPA-cvs mailing list