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

raeburn raeburn at source.lon-capa.org
Tue Feb 1 14:54:36 EST 2022


raeburn		Tue Feb  1 19:54:36 2022 EDT

  Modified files:              
    /loncom/lti	ltiauth.pm 
  Log:
  - Typo
  
  
Index: loncom/lti/ltiauth.pm
diff -u loncom/lti/ltiauth.pm:1.28 loncom/lti/ltiauth.pm:1.29
--- loncom/lti/ltiauth.pm:1.28	Tue Feb  1 19:47:20 2022
+++ loncom/lti/ltiauth.pm	Tue Feb  1 19:54:36 2022
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Basic LTI Authentication Module
 #
-# $Id: ltiauth.pm,v 1.28 2022/02/01 19:47:20 raeburn Exp $
+# $Id: ltiauth.pm,v 1.29 2022/02/01 19:54:36 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -496,7 +496,7 @@
         %consumers = &Apache::lonnet::get_dom('lticonsumers',[$sourcecrs],$cdom);
         if (exists($consumers{$sourcecrs})) {
             if ($consumers{$sourcecrs} =~ /^\Q$itemid:\E($match_courseid)$/) {
-                $storedcnum = $1;
+                my $storedcnum = $1;
                 my $crshome = &Apache::lonnet::homeserver($storedcnum,$cdom);
                 if ($crshome =~ /(con_lost|no_host|no_such_host)/) {
                     &invalid_request($r,20);




More information about the LON-CAPA-cvs mailing list