--- loncom/interface/statistics/lonstathelpers.pm 2005/04/07 07:34:52 1.47 +++ loncom/interface/statistics/lonstathelpers.pm 2005/04/08 13:35:50 1.49 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstathelpers.pm,v 1.47 2005/04/07 07:34:52 albertel Exp $ +# $Id: lonstathelpers.pm,v 1.49 2005/04/08 13:35:50 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -338,9 +338,10 @@ sub new_accumulator { sub get_selected_symbs { my ($inputfield) = @_; my $field = 'form.'.$inputfield; - my @Symbs = &Apache::loncommon::get_env_multiple($field); - @Symbs = (map {&Apache::lonnet::unescape($_);} @{$env{$field}}); - return @Symbs; + my @symbs = (map { + &Apache::lonnet::unescape($_); + } &Apache::loncommon::get_env_multiple($field)); + return @symbs; } #################################################### @@ -1251,7 +1252,7 @@ sub limit_by_time_form { } $timecheckbox .= 'OnChange="javascript:toggle_limitby_activity(this.checked);" '; $timecheckbox .= ' />'; - $Str .= ''.&mt('[_1] Limit by time',$timecheckbox).''; + $Str .= ''; $Str .= &mt('Start Time: [_1]',$startdateform).'
'; $Str .= &mt(' End Time: [_1]',$enddateform).'
'; $Str .= '';