[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm

raeburn raeburn at source.lon-capa.org
Fri Dec 22 12:19:44 EST 2017


raeburn		Fri Dec 22 17:19:44 2017 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - Fix logic.
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1362 loncom/lonnet/perl/lonnet.pm:1.1363
--- loncom/lonnet/perl/lonnet.pm:1.1362	Mon Dec 18 23:14:03 2017
+++ loncom/lonnet/perl/lonnet.pm	Fri Dec 22 17:19:43 2017
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.1362 2017/12/18 23:14:03 raeburn Exp $
+# $Id: lonnet.pm,v 1.1363 2017/12/22 17:19:43 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -11754,7 +11754,7 @@
             unless ($checked) {
                 my ($ignore,$cdom,$cnum,$marker) = split(m{/},$uri);
                 $marker=~s/\D//g;
-                if (!$marker) {
+                if ($marker) {
                     my %toolsettings=&get('exttool_'.$marker,['gradable'],$cdom,$cnum);
                     $use_passback = $toolsettings{'gradable'};
                 }




More information about the LON-CAPA-cvs mailing list