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

raeburn raeburn@source.lon-capa.org
Sat, 22 May 2010 01:29:27 -0000


raeburn		Sat May 22 01:29:27 2010 EDT

  Modified files:              
    /loncom/interface	lonconfigsettings.pm 
  Log:
  - Eliminate duplicate declarations.
  
  
Index: loncom/interface/lonconfigsettings.pm
diff -u loncom/interface/lonconfigsettings.pm:1.13 loncom/interface/lonconfigsettings.pm:1.14
--- loncom/interface/lonconfigsettings.pm:1.13	Fri Apr  2 21:47:54 2010
+++ loncom/interface/lonconfigsettings.pm	Sat May 22 01:29:27 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: lonconfigsettings.pm,v 1.13 2010/04/02 21:47:54 raeburn Exp $
+# $Id: lonconfigsettings.pm,v 1.14 2010/05/22 01:29:27 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -336,8 +336,8 @@
     if ($numitems%$numcols) {
         $maxincol ++;
     }
-    my $firstthird = $maxincol;
-    my $secondthird = $firstthird + $maxincol;
+    $firstthird = $maxincol;
+    $secondthird = $firstthird + $maxincol;
     $count = 0;
     if ((ref($prefs_order) eq 'ARRAY') && (ref($prefs) eq 'HASH')) {
         foreach my $item (@{$prefs_order}) {