[LON-CAPA-cvs] cvs: loncom /interface lonexttool.pm

raeburn raeburn at source.lon-capa.org
Mon Jan 25 15:13:02 EST 2016


raeburn		Mon Jan 25 20:13:02 2016 EDT

  Modified files:              
    /loncom/interface	lonexttool.pm 
  Log:
  - Fix typo and call to subroutine.
  
  
Index: loncom/interface/lonexttool.pm
diff -u loncom/interface/lonexttool.pm:1.1 loncom/interface/lonexttool.pm:1.2
--- loncom/interface/lonexttool.pm:1.1	Mon Jan 11 16:42:37 2016
+++ loncom/interface/lonexttool.pm	Mon Jan 25 20:13:02 2016
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Launch External Tool Provider (LTI)
 #
-# $Id: lonexttool.pm,v 1.1 2016/01/11 16:42:37 raeburn Exp $
+# $Id: lonexttool.pm,v 1.2 2016/01/25 20:13:02 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -175,7 +175,7 @@
         @userlangs=(@userlangs,split(/\s*(\,|\;|\:)\s*/,
                     $env{'course.'.$env{'request.course.id'}.'.languages'}));
     } else {
-        my %langhash = &getlangs($uname,$udom);
+        my %langhash = &Apache::loncommon::getlangs($uname,$udom);
         if ($langhash{'languages'} ne '') {
             @userlangs = split(/\s*(\,|\;|\:)\s*/,$langhash{'languages'});
         } else {
@@ -266,7 +266,7 @@
                 last;
             }
         }
-        $ltiparams{'lis_person_contact_email_primary'} = &contact_email;
+        $ltiparams{'lis_person_contact_email_primary'} = $contact_email;
     }
     if (keys(%custom)) {
         foreach my $key (keys(%custom)) {




More information about the LON-CAPA-cvs mailing list