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

raeburn raeburn@source.lon-capa.org
Sat, 22 May 2010 13:26:21 -0000


raeburn		Sat May 22 13:26:21 2010 EDT

  Modified files:              (Branch: version_2_9_X)
    /loncom/interface	lonconfigsettings.pm 
  Log:
  - Backport 1.14.
  
  
Index: loncom/interface/lonconfigsettings.pm
diff -u loncom/interface/lonconfigsettings.pm:1.8.2.2 loncom/interface/lonconfigsettings.pm:1.8.2.3
--- loncom/interface/lonconfigsettings.pm:1.8.2.2	Tue Mar 23 20:53:09 2010
+++ loncom/interface/lonconfigsettings.pm	Sat May 22 13:26:21 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: lonconfigsettings.pm,v 1.8.2.2 2010/03/23 20:53:09 raeburn Exp $
+# $Id: lonconfigsettings.pm,v 1.8.2.3 2010/05/22 13:26:21 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -308,8 +308,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}) {