--- loncom/interface/lonconfigsettings.pm 2010/03/23 20:53:09 1.8.2.2 +++ loncom/interface/lonconfigsettings.pm 2010/11/19 13:09:36 1.8.2.4 @@ -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.4 2010/11/19 13:09:36 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -141,7 +141,7 @@ sub print_footer { if (($phase eq 'display') || ($phase eq 'process')) { if (ref($actions) eq 'ARRAY') { foreach my $item (@{$actions}) { - $r->print('')."\n"; + $r->print(''."\n"); } } } @@ -308,8 +308,8 @@ sub display_choices { 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}) {