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

raeburn raeburn at source.lon-capa.org
Thu Jul 6 13:16:35 EDT 2023


raeburn		Thu Jul  6 17:16:35 2023 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  - Fix typo in rev. 1.1408.
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.1409 loncom/interface/loncommon.pm:1.1410
--- loncom/interface/loncommon.pm:1.1409	Thu Jul  6 16:55:43 2023
+++ loncom/interface/loncommon.pm	Thu Jul  6 17:16:35 2023
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.1409 2023/07/06 16:55:43 raeburn Exp $
+# $Id: loncommon.pm,v 1.1410 2023/07/06 17:16:35 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -10504,7 +10504,7 @@
     my ($udom,$uname) = @_;
     if (($udom ne '') && ($uname ne '')) {
         if (($udom ne $env{'user.domain'}) || ($uname ne $env{'user.name'})) {
-            if (&Apache::lonnet::is_advanced($udom,$uname)) {
+            if (&Apache::lonnet::is_advanced_user($udom,$uname)) {
                 return 0;
             } else {
                 return 1;




More information about the LON-CAPA-cvs mailing list