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

albertel lon-capa-cvs-allow@mail.lon-capa.org
Fri, 31 Aug 2007 19:31:18 -0000


albertel		Fri Aug 31 15:31:18 2007 EDT

  Modified files:              
    /loncom/homework	structuretags.pm 
  Log:
  - scoping error
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.391 loncom/homework/structuretags.pm:1.392
--- loncom/homework/structuretags.pm:1.391	Fri Aug 17 20:31:35 2007
+++ loncom/homework/structuretags.pm	Fri Aug 31 15:31:16 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.391 2007/08/18 00:31:35 albertel Exp $
+# $Id: structuretags.pm,v 1.392 2007/08/31 19:31:16 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -211,7 +211,7 @@
 	$name = $Apache::lonhomework::name;
     } else {
 	my ($symb)=&Apache::lonnet::whichuser();
-	my $name=&Apache::lonnet::gettitle($symb);
+	$name=&Apache::lonnet::gettitle($symb);
 	if ($name eq '') {
 	    $name=&Apache::lonnet::EXT('resource.title');
 	    if ($name eq 'con_lost') { $name = ''; }