--- loncom/interface/lontrackstudent.pm 2007/02/13 01:44:02 1.23
+++ loncom/interface/lontrackstudent.pm 2008/12/20 04:31:55 1.25
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lontrackstudent.pm,v 1.23 2007/02/13 01:44:02 albertel Exp $
+# $Id: lontrackstudent.pm,v 1.25 2008/12/20 04:31:55 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -360,14 +360,14 @@ sub output_results {
my $tablerow = qq{
}.($count+1).qq{ | };
if ($src =~ m|^/adm/|) {
$tablerow .=
- ''.$title.' | ';
+ ''.$title.' | ';
} else {
$tablerow .=
- ''.
+ ''.
''.$title.''.
- ' | ';
+ ' | ';
}
- $tablerow .= ''.$timestamp.' | ';
+ $tablerow .= ''.$timestamp.' | ';
if ($mode eq 'full_class') {
$tablerow.=''.$student.' | ';
}
@@ -516,6 +516,11 @@ sub handler {
#
# We will almost always need this...
my $navmap = Apache::lonnavmaps::navmap->new();
+ if (!defined($navmap)) {
+ my $requrl = $r->uri;
+ $env{'user.error.msg'} = "$requrl:bre:0:0:Navmap initialization failed.";
+ return HTTP_NOT_ACCEPTABLE;
+ }
#
&Apache::lonhtmlcommon::clear_breadcrumbs();
&Apache::lonhtmlcommon::add_breadcrumb({href=>'/adm/studentactivity',