[LON-CAPA-cvs] cvs: loncom /homework structuretags.pm

albertel lon-capa-cvs@mail.lon-capa.org
Sat, 12 Feb 2005 02:18:08 -0000


albertel		Fri Feb 11 21:18:08 2005 EDT

  Modified files:              
    /loncom/homework	structuretags.pm 
  Log:
  - BUG#3939
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.278 loncom/homework/structuretags.pm:1.279
--- loncom/homework/structuretags.pm:1.278	Fri Dec 17 16:42:50 2004
+++ loncom/homework/structuretags.pm	Fri Feb 11 21:18:08 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.278 2004/12/17 21:42:50 albertel Exp $
+# $Id: structuretags.pm,v 1.279 2005/02/12 02:18:08 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -142,7 +142,8 @@
     if (defined($Apache::lonhomework::name)) {
 	return $Apache::lonhomework::name;
     }
-    my $name=&Apache::lonnet::gettitle();
+    my ($symb)=&Apache::lonxml::whichuser();
+    my $name=&Apache::lonnet::gettitle($symb);
     if ($name eq '') {
 	$name=&Apache::lonnet::EXT('resource.title');
 	if ($name eq 'con_lost') { $name = ''; }