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

raeburn lon-capa-cvs@mail.lon-capa.org
Wed, 15 Nov 2006 14:35:11 -0000


raeburn		Wed Nov 15 09:35:11 2006 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  Setting of flag for ok response in &auto_instcode_defaults() needs to be inside the conditional block. 
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.803 loncom/lonnet/perl/lonnet.pm:1.804
--- loncom/lonnet/perl/lonnet.pm:1.803	Fri Nov 10 13:44:34 2006
+++ loncom/lonnet/perl/lonnet.pm	Wed Nov 15 09:35:10 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.803 2006/11/10 18:44:34 albertel Exp $
+# $Id: lonnet.pm,v 1.804 2006/11/15 14:35:10 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4299,8 +4299,8 @@
                     $returnhash->{&unescape($name)}=&unescape($value);
                 }
             }
+            $ok_response = 1;
         }
-        $ok_response = 1;
     }
     if ($ok_response) {
         return 'ok';