[LON-CAPA-cvs] cvs: loncom /lti ltiauth.pm

raeburn raeburn at source.lon-capa.org
Mon May 14 15:56:06 EDT 2018


raeburn		Mon May 14 19:56:06 2018 EDT

  Modified files:              
    /loncom/lti	ltiauth.pm 
  Log:
  - Fix typo.
  
  
Index: loncom/lti/ltiauth.pm
diff -u loncom/lti/ltiauth.pm:1.10 loncom/lti/ltiauth.pm:1.11
--- loncom/lti/ltiauth.pm:1.10	Tue May  8 00:44:14 2018
+++ loncom/lti/ltiauth.pm	Mon May 14 19:56:05 2018
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Basic LTI Authentication Module
 #
-# $Id: ltiauth.pm,v 1.10 2018/05/08 00:44:14 raeburn Exp $
+# $Id: ltiauth.pm,v 1.11 2018/05/14 19:56:05 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -432,7 +432,7 @@
     my @lcroleorder = ('cc','in','ta','ep','st');
     my @ltiroleorder = ('Instructor','TeachingAssistant','Mentor','Learner');
     if ($params->{'roles'} =~ /,/) {
-        my @possltiroles = split(/\s*,\s*/,$params->{'role'});
+        my @possltiroles = split(/\s*,\s*/,$params->{'roles'});
         foreach my $ltirole (@ltiroleorder) {
             if (grep(/^\Q$ltirole\E$/, at possltiroles)) {
                 push(@ltiroles,$ltirole);




More information about the LON-CAPA-cvs mailing list