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

albertel lon-capa-cvs-allow@mail.lon-capa.org
Sat, 01 Dec 2007 04:18:08 -0000


albertel		Fri Nov 30 23:18:08 2007 EDT

  Modified files:              
    /loncom/interface	lonuserutils.pm 
  Log:
  - restroe pre declaration
  
  
Index: loncom/interface/lonuserutils.pm
diff -u loncom/interface/lonuserutils.pm:1.6 loncom/interface/lonuserutils.pm:1.7
--- loncom/interface/lonuserutils.pm:1.6	Fri Nov 30 22:48:20 2007
+++ loncom/interface/lonuserutils.pm	Fri Nov 30 23:18:04 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Utility functions for managing LON-CAPA user accounts
 #
-# $Id: lonuserutils.pm,v 1.6 2007/12/01 03:48:20 albertel Exp $
+# $Id: lonuserutils.pm,v 1.7 2007/12/01 04:18:04 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1492,7 +1492,8 @@
     my $format_reply;
     my $jscript = '';
 
-    my $totcodes =
+    my $totcodes = 0;
+    $totcodes =
         &Apache::courseclassifier::retrieve_instcodes(\%coursecodes,
                                                       $cdom,$totcodes);
     if ($totcodes > 0) {