Diff for /loncom/interface/lontrackstudent.pm between versions 1.39 and 1.40

version 1.39, 2017/11/12 22:19:56 version 1.40, 2017/11/12 23:06:51
Line 185  sub get_max_time_in_db { Line 185  sub get_max_time_in_db {
     &Apache::lonhtmlcommon::Update_PrgWin      &Apache::lonhtmlcommon::Update_PrgWin
         ($r,$prog_state,&mt('Parsing results'));          ($r,$prog_state,&mt('Parsing results'));
     #      #
     if (! open(TIMEDATA,$results_file)) {      if (! open(TIMEDATA,"<",$results_file)) {
         $r->print('<p class="LC_error">'.&mt('Unable to read results file.').'</p>'.          $r->print('<p class="LC_error">'.&mt('Unable to read results file.').'</p>'.
                   '<p>'.                    '<p>'.
                   &mt('This is a serious error and has been logged.').                    &mt('This is a serious error and has been logged.').
Line 254  sub output_results { Line 254  sub output_results {
         $r->print('<p class="LC_info">'.&mt('So far, no data has been returned for your request').'</p>');          $r->print('<p class="LC_info">'.&mt('So far, no data has been returned for your request').'</p>');
         return -1;          return -1;
     }      }
     if (! open(ACTIVITYDATA,$results_file)) {      if (! open(ACTIVITYDATA,"<",$results_file)) {
         $r->print('<p class="LC_error">'.&mt('Unable to read results file.').'</p>'.          $r->print('<p class="LC_error">'.&mt('Unable to read results file.').'</p>'.
                   '<p>'.                    '<p>'.
                   &mt('This is a serious error and has been logged.').                    &mt('This is a serious error and has been logged.').

Removed from v.1.39  
changed lines
  Added in v.1.40


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>